-
Notifications
You must be signed in to change notification settings - Fork 818
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
Rocksdb Error when Downgrading from Besu 23.7.1 to 22.10.2 #5808
Comments
Hi @sheharyar12 thanks for the report. @garyschulte can you take a look in fabio's absence? |
I was able to reproduce this locally. However a breaking change was introduced in 23.1.0 that added a new column family for "chain pruner state". What 22.10.2 is complaining about isn't the storage varaibles, it is complaining that it doesn't know about the new chain pruner column family. This error If you need to revert these databases to 22.10.2, reach out on the hyperledger discord and we can help you manually revert |
#4686 should only add the chain pruning column family if it is explicitly enabled. It isn't clear why the chain pruning column family is being created when running 23.7.1. I will dig into this a bit more and see where/why this is occurring. |
Found, fixed in #5830. Sorry for the inconvenience. Again, if you need help migrating those databases back to 22.10.2 reach out on discord and we can help. |
Quick fix! Thank you all so much ! @garyschulte @non-fungible-nelson |
Rocksdb Error when Downgrading from Besu 23.7.1 to 22.10.2
Description
I want to seamlessly revert from version 23.7.1 to 22.10.2 without any database errors after having successfully upgraded to 23.7.1 and executed the recommended database revert command, and finally downgrading back to 22.10.2.
Acceptance Criteria
Besu should revert back to version 22.10.2 without any startup errors after previously upgrading to 23.7.1 and executing the recommended database revert commands. See here as recommended.
Steps to Reproduce (Bug)
besu revert storage-variables
Expected behavior: Besu 22.10.2 should start without errors after reverting from 23.7.1.
Actual behavior: Encountered an error during the startup of Besu 22.10.2 after reverting.
Frequency: This issue occurs consistently upon reverting.
Logs when reverting db via executing subcommand
storage revert-variables
Logs (if a bug)
Software version: Initially besu 22.10.2 then upgraded to 23.7.1. Finally wanted to revert back to 22.10.2
Additional Information
Database storage format : FOREST
The text was updated successfully, but these errors were encountered: