sidetree icon indicating copy to clipboard operation
sidetree copied to clipboard

Prevent last processed transaction bug when unexpected crash happens during fast init

Open isaacJChen opened this issue 3 years ago • 1 comments

isaacJChen avatar Jul 09 '20 20:07 isaacJChen

I think the issue here is that if fast initialization crashes, upon reboot, the service will assume everything is great and start processing from tail, even though fast processing hadn't reached the genesis block yet.

A fix would to have an explicit flag in DB indicating fast init state.

thehenrytsai avatar Jan 05 '22 19:01 thehenrytsai