-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
[DbTool] add a few commands to modify database with minimal safety checks #11612
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
mwtian
force-pushed
the
set-exec-watermark
branch
3 times, most recently
from
May 2, 2023 01:29
ee0b60b
to
ce521b4
Compare
mwtian
force-pushed
the
set-exec-watermark
branch
6 times, most recently
from
May 10, 2023 21:26
4d3805f
to
c142561
Compare
mwtian
force-pushed
the
set-exec-watermark
branch
6 times, most recently
from
May 10, 2023 23:34
29959f8
to
764730a
Compare
mwtian
force-pushed
the
set-exec-watermark
branch
from
May 10, 2023 23:53
764730a
to
d1ce05a
Compare
mwtian
changed the title
Force rewind highest checkpoint execution watermark
[DbTool] add a few commands to modify database as safe as possible
May 11, 2023
mwtian
changed the title
[DbTool] add a few commands to modify database as safe as possible
[WIP][DbTool] add a few commands to modify database as safe as possible
May 11, 2023
williampsmith
requested changes
May 11, 2023
williampsmith
approved these changes
May 12, 2023
mwtian
changed the title
[WIP][DbTool] add a few commands to modify database as safe as possible
[DbTool] add a few commands to modify database with minimal safety checks
May 12, 2023
ronny-mysten
pushed a commit
that referenced
this pull request
May 17, 2023
…ecks (#11612) There are needs to repair corrupted databases sometimes. Adding a few commands to remove transaction and its outputs, and remove lock. Tested on fullnodes. --- If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process. - [ ] user-visible impact - [ ] breaking change for a client SDKs - [ ] breaking change for FNs (FN binary must upgrade) - [ ] breaking change for validators or node operators (must upgrade binaries) - [ ] breaking change for on-chain data layout - [ ] necessitate either a data wipe or data migration
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
There are needs to repair corrupted databases sometimes. Adding a few commands to remove transaction and its outputs, and remove lock.
Test Plan
Tested on fullnodes.
If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)
Release notes