Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](bdb) Write OP_TIMESTAMP operation until it successed
For now, it will reset the next journal id and return if the OP_TIMESTAMP operation writes failed. Because BDBJE will replicate the committed txns (only persisted in BDB log, but not replicated to other members) to FOLLOWERs after the connection resumed, directly resetting the next journal id and returning will cause subsequent txn written to the same journal ID not to be replayed by the FOLLOWERS. So for OP_TIMESTAMP operation, try to write until it succeeds.
- Loading branch information