eBay / HomeObject

Replicated BLOB Store built upon HomeStore
Apache License 2.0
6 stars 15 forks source link

replay journal log for create/seal shard when HO recovery from crash #97

Closed zichanglai closed 1 year ago

zichanglai commented 1 year ago

during on_commit of raft state machine, create_shard/seal_shard will write/update the associated metablk for the shard, but there may be some cases HO will crash before metablk is completed. in that case, we need to replay the journal log in HS to recover shard info