Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
-
Description
We write the current max sequence id plus one as the new max sequence id so if we fail before report RIT to master, when assign next time the open sequence number will increase by one.
But it is possible that we fail before writing the open region marker so there will no actual WAL with the sequence id which is the open sequence number minus one. This will cause the serial replication to be stuck.