Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Replication
Description
We need to insert a dummy oplog entry that contains a fake higher term. The term should follow this algorithm:
term = lastOplogEntry.getTerm()
|
if !term
|
term = 1
|
maxTerm = max(restoreToHigherTermThan, term)
|
Return maxTerm + 100
|