Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ protected void readWALEntries(WALEntryStream entryStream, WALEntryBatch batch)
break;
}
sleepMultiplier = sleep(sleepMultiplier);
// Always make sure to continue/break from the loop after handling the exception.
// Otherwise we will drop down below into logic to push the entry,
// but since we don't know if the entry can be pushed we may push
// the entry out of order, breaking serial replication guarantees.
continue;
}
// arrive here means we can push the entry, record the last sequence id
batch.setLastSeqId(Bytes.toString(entry.getKey().getEncodedRegionName()),
Expand Down