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

Bug 1820792 - Create new RKV on DatabaseCorrupted Error and log error #2425

Merged
merged 2 commits into from
Mar 30, 2023

Conversation

perrymcmanis144
Copy link
Contributor

Putting this up so we can discuss/not forget about it

@perrymcmanis144 perrymcmanis144 requested a review from badboy March 20, 2023 14:59
@perrymcmanis144 perrymcmanis144 requested a review from a team as a code owner March 20, 2023 14:59
@perrymcmanis144 perrymcmanis144 force-pushed the enable_db_corrupted_error branch from 30ac8ef to 58756b4 Compare March 20, 2023 15:01
@badboy
Copy link
Member

badboy commented Mar 20, 2023

fun fact: it seems rkv has that ability already and I just agreed to even generalize it a bit more (here)

Copy link
Member

@badboy badboy left a comment

Choose a reason for hiding this comment

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

👍 This seems better than the status quo because at least we would get back to a working state again.

It would be great if we start recording when these errors happen so we actually know how frequent that is.
That will require some plumbing to pass back the error and record it once we have a database though. Best done in a followup, could you file a bug?

We should also rebase this once the latest release has landed in main so that the changelog ends up in the right place.

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Jan-Erik Rediger <jrediger@mozilla.com>
@badboy badboy closed this Mar 30, 2023
@badboy badboy reopened this Mar 30, 2023
@perrymcmanis144 perrymcmanis144 merged commit 819899c into main Mar 30, 2023
@perrymcmanis144 perrymcmanis144 deleted the enable_db_corrupted_error branch March 30, 2023 17:48
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