Skip to content

[WIP] feat(indexer): Introduce optimistic indexing #6056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP TABLE optimistic_deleted_objects_versions;
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- Version of objects that already got deleted.
-- This is to handle race conditions between optimistic indexing and checkpoint indexing.
-- If object version is present in this table,
-- any inserts of lower versions for this object should be skipped.
-- Object version deleted by both optimistic and checkpoint indexing should be stored in this table.
CREATE TABLE optimistic_deleted_objects_versions (
object_id bytea PRIMARY KEY,
object_version bigint NOT NULL
);
Loading