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
When we initialize the ledger DB, it is possible that a ledger DB on-disk snapshot refers to a block that is expected to be present in the immutable DB, but isn't. When this happens, we should discard the snapshot and try to use an older snapshot instead.
This was already implemented, but the way we checked whether the block was present was by comparing slot numbers. If the slot number of the Point required by the ledger DB was present in the immutable DB, we assumed that the block must be present. This isn't correct, however. It is possible that the immutable DB contains an EBB of that slot, by the ledger DB snapshot refers to the regular block in the same slot. In this scenario, initialization of the ledger DB failed with an internal error, and we would not attempt to try an earlier version.
The text was updated successfully, but these errors were encountered:
When we initialize the ledger DB, it is possible that a ledger DB on-disk snapshot refers to a block that is expected to be present in the immutable DB, but isn't. When this happens, we should discard the snapshot and try to use an older snapshot instead.
This was already implemented, but the way we checked whether the block was present was by comparing slot numbers. If the slot number of the
Point
required by the ledger DB was present in the immutable DB, we assumed that the block must be present. This isn't correct, however. It is possible that the immutable DB contains an EBB of that slot, by the ledger DB snapshot refers to the regular block in the same slot. In this scenario, initialization of the ledger DB failed with an internal error, and we would not attempt to try an earlier version.The text was updated successfully, but these errors were encountered: