Closed legionxiong closed 1 year ago
@legionxiong Sorry, I thought I had responded to this issue already. We could reconcile that server A is ahead of B/C and forward the missing transactions. However, it's more typical that B/C will have accepted other writes in the time that A comes back. There's also edge cases where A could be much further ahead than B/C and it'd be difficult to ensure that the lineage hasn't been broken.
We do have plans for synchronous writes which will provide better guarantees about windows of transaction loss. I'm going to close this issue in lieu of that as this seems like adding a fair bit of complexity for a relatively rare scenario.
This bug cloud be easily reproduced via:
Expected: The data updated in step 3 replicated to other nodes. Actual: The data updated in step 3 was cleared.