vmware / concord-bft

Concord byzantine fault tolerant state machine replication library
379 stars 149 forks source link

[WIP] fix db checkpoint async bug #2982

Closed yontyon closed 1 year ago

yontyon commented 1 year ago

This PR doesn't handle the case of explicitly creating db checkpoint by the operator, as it assumes to be used for clients only (which cares only about the blockchain)

WildFireFlum commented 1 year ago

This PR proposes a fix, in which, we pin the bft sequence number before starting the async part, and align everything accordingly. Can you detail what data you persist differently from before and why?