Skip to content
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

Fix false positives of "missing entries for record X" error during index validation #7695

Open
wants to merge 1 commit into
base: B3_0_Release
Choose a base branch
from

Conversation

ilya071294
Copy link
Collaborator

Cases of false positives:

  1. When a deleted record version is committed and has a backversion. The existence of an index entry is not required for such version chain because it is all garbage since a transaction is committed.
  2. When a deleted record version is not committed and has a backversion which is also not committed. This can happen when a record is inserted and deleted in the same transaction.

…dex validation

Cases of false positives:
1. When a deleted record version is committed and has a backversion. The existence of an index entry is not required for such version chain because it is all garbage since a transaction is committed.
2. When a deleted record version is not committed and has a backversion which is also not committed. This can happen when a record is inserted and deleted in the same transaction.
@aafemt
Copy link
Contributor

aafemt commented Aug 3, 2023

Case 2 should not ever happen. update_in_place() and delete_in_place() make sure that there is no uncommitted backversions.

Oops, I'm sorry, I missed that this PR is for v3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants