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 storage rollback #1616

Closed
wants to merge 7 commits into from
Closed

fix storage rollback #1616

wants to merge 7 commits into from

Conversation

tzemanovic
Copy link
Member

@tzemanovic tzemanovic commented Jun 23, 2023

depends on #1615

The issue fixed in #1615 was affecting rollback because the iterator without prefix didn't find anything. There's another issue in rollback itself - a key-val that's deleted is not being restored as shown in 5ca18bc.

@tzemanovic tzemanovic force-pushed the tomas/fix-rollback branch from c44dc36 to 9463d04 Compare June 23, 2023 14:10
@tzemanovic tzemanovic force-pushed the tomas/fix-rollback branch from 9463d04 to 557fb3a Compare June 23, 2023 15:04
@tzemanovic tzemanovic marked this pull request as ready for review June 23, 2023 15:47
Fraccaman added a commit that referenced this pull request Jun 27, 2023
* origin/tomas/fix-rollback:
  ledger/storage/rocksdb: fix rollback to restore deleted keys
  test/ledger/storage/rocksdb: add a test for block rollback
@Fraccaman Fraccaman mentioned this pull request Jun 27, 2023
brentstone added a commit that referenced this pull request Jul 3, 2023
* origin/tomas/fix-rollback:
  ledger/storage/rocksdb: fix rollback to restore deleted keys
  test/ledger/storage/rocksdb: add a test for block rollback
@brentstone
Copy link
Collaborator

Merged in v0.18.0

@brentstone brentstone closed this Jul 4, 2023
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.

3 participants