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(server): Fix crash in RENAME #2503

Merged
merged 1 commit into from
Jan 30, 2024
Merged

fix(server): Fix crash in RENAME #2503

merged 1 commit into from
Jan 30, 2024

Conversation

chakaz
Copy link
Collaborator

@chakaz chakaz commented Jan 29, 2024

Crash was a CHECK() failure when renaming to an existing key within the same shard.

Specifically, the problem was that we ran post updater after deletion, which is illegal as it could invalidate iterators.

Fixes #2502

Crash was a `CHECK()` failure when renaming to an existing key within
the same shard.

Specifically, the problem was that we ran post updater after deletion,
which is illegal as it could invalidate iterators.

Fixes #2502
@chakaz chakaz requested a review from adiholden January 29, 2024 18:15
@chakaz chakaz merged commit 87fb07a into main Jan 30, 2024
10 checks passed
@chakaz chakaz deleted the rename-crash branch January 30, 2024 08:24
romange pushed a commit that referenced this pull request Feb 3, 2024
Crash was a `CHECK()` failure when renaming to an existing key within
the same shard.

Specifically, the problem was that we ran post updater after deletion,
which is illegal as it could invalidate iterators.

Fixes #2502
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.

Crash on replica
2 participants