CCF icon indicating copy to clipboard operation
CCF copied to clipboard

deserialise_snapshot() assumes that it runs single-threaded, but frontends are already open

Open achamayou opened this issue 2 years ago • 0 comments

Transactions executed while the snapshot is being deserialised may see an inconsistent view of the KV (state not in sync with version, or version not in sync with history).

The frontends should either stay closed, or only emit transactionless commands until the snapshot is fully deserialised, to avoid a giant lock on node state.

achamayou avatar Mar 28 '23 15:03 achamayou