mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-18 19:05:06 +00:00
parent
3b58582059
commit
e9a3932dbc
@ -356,7 +356,7 @@ public class PeerRecoveryTargetService extends AbstractComponent implements Inde
|
||||
final long globalCheckpoint = Translog.readGlobalCheckpoint(recoveryTarget.translogLocation());
|
||||
final Tuple<Long, Long> seqNoStats = recoveryTarget.store().loadSeqNoInfo();
|
||||
long maxSeqNo = seqNoStats.v1();
|
||||
long localCheckpoint = seqNoStats.v1();
|
||||
long localCheckpoint = seqNoStats.v2();
|
||||
if (maxSeqNo <= globalCheckpoint) {
|
||||
assert localCheckpoint <= globalCheckpoint;
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user