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

[dbnode] use index in shard for FetchBlocksMetadata pagination #4263

Closed
wants to merge 4 commits into from

Conversation

Antanukas
Copy link
Collaborator

@Antanukas Antanukas commented Dec 2, 2023

What this PR does / why we need it:

Fixes # racy fetchActiveBlocksMetadata pagination where due to race during cluster resize (peers bootstrapping) some series could have been skipped from the active block.

Special notes for your reviewer:

Previously Index field would be set outside the lock that might cause order in the list mismatch the Index causing some series to be missed when using cursor based pagination.

Does this PR introduce a user-facing and/or backwards incompatible change?:

NONE

Does this PR require updating code package or user-facing documentation?:

NONE

@Antanukas Antanukas marked this pull request as ready for review December 2, 2023 14:10
@Antanukas
Copy link
Collaborator Author

solved in 4298

@Antanukas Antanukas closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant