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: do not check-fail in OpRestore #4332

Merged
merged 1 commit into from
Dec 18, 2024
Merged

fix: do not check-fail in OpRestore #4332

merged 1 commit into from
Dec 18, 2024

Conversation

romange
Copy link
Collaborator

@romange romange commented Dec 17, 2024

In some rare cases we reach inconsistent state inside OpRestore where a key already exists, though it should not. In that case log the error instead of crashing the server. In addition, we update the existing entry to the latest restored value.

@romange romange changed the title fix: do not check-fail OpRestore fix: do not check-fail in OpRestore Dec 17, 2024
In some rare cases we reach inconsistent state inside OpRestore where a key already exists, though it should not.
In that case log the error instead of crashing the server. In addition, we update the existing entry to the latest restored value.

Signed-off-by: Roman Gershman <[email protected]>
@romange romange merged commit c22c944 into main Dec 18, 2024
9 checks passed
@romange romange deleted the Pr2 branch December 18, 2024 07:53
romange added a commit that referenced this pull request Dec 18, 2024
fix: do not check-fail OpRestore

In some rare cases we reach inconsistent state inside OpRestore where a key already exists, though it should not.
In that case log the error instead of crashing the server. In addition, we update the existing entry to the latest restored value.

Signed-off-by: Roman Gershman <[email protected]>
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