-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix random gradle check failure issue 3584.
This changes NRTReplicationEngineTests to assert against the exact version of SegmentInfos passed from the primary to replicas. Under certain conditions a primary can perform a merge while the replica is updating, making its latest segmentInfos differ from what was passed to the replica. It also removes the assertion against engine.segments(), because that is always computed from the `lastCommittedSegmentInfos`, which will differ after a merge. Signed-off-by: Marc Handalian <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters