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] GC Index entries belonging to a closed shard #4094

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

Antanukas
Copy link
Collaborator

@Antanukas Antanukas commented Apr 4, 2022

What this PR does / why we need it:

Makes sure active index entries are garbage collected when shard get closed.

This mainly affects scenarios when after placement update shard returns to the node it was previously on in a relatively short duration (e.g. testing and not common in real-world).

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 April 4, 2022 14:10
Copy link
Collaborator

@robskillington robskillington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robskillington robskillington changed the title [dbnode] GC Index entries belonging to a closed shard (#12793) [dbnode] GC Index entries belonging to a closed shard Apr 4, 2022
@robskillington robskillington enabled auto-merge (squash) April 4, 2022 15:39
@robskillington robskillington merged commit cf6d87a into master Apr 4, 2022
@robskillington robskillington deleted the antanas/gc-entries branch April 4, 2022 15:53
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.

2 participants