You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context and scope LinkedDB is a database wrapping a KV store that facilitates iteration.
It would simplify the codebase and remove code that needs to be maintained if we make it a wrapper around a database with an iteration functionality such as GoLevelDB.
Discussion and alternatives
It is crucial to do this in a manner that preserves backward compatibility with the previous version of avalanchego, as otherwise we won't be able to upgrade to the new version due to losing the ability to read the latest persisted DB.
After releasing a version with backward compatibility, we would be able to remove the parts that remain for backward compatibility.
Open questions
How do we detect which keys were written using the old version and which were written using the new version?
How do we combine input from the old version and the new version?
The text was updated successfully, but these errors were encountered:
Alternatively, perhaps it is easier to simply have the old linkedDB be migrated to the new one once the node figures out it has been upgraded, and just use the new version from that point onwards.
Context and scope
LinkedDB is a database wrapping a KV store that facilitates iteration.
It would simplify the codebase and remove code that needs to be maintained if we make it a wrapper around a database with an iteration functionality such as GoLevelDB.
Discussion and alternatives
It is crucial to do this in a manner that preserves backward compatibility with the previous version of avalanchego, as otherwise we won't be able to upgrade to the new version due to losing the ability to read the latest persisted DB.
After releasing a version with backward compatibility, we would be able to remove the parts that remain for backward compatibility.
Open questions
The text was updated successfully, but these errors were encountered: