MNT-23303 - Tracker should start off from lastGoodTxCommitTimeInIndex that takes into account the retention hole

(cherry picked from commit 8689ac04ff65dd52bec9515aa135ce4763a9e0b9)
This commit is contained in:
Eva Vasques
2022-11-30 12:46:59 +00:00
parent 9843af6437
commit 7de998dd61
@@ -937,9 +937,7 @@ public class MetadataTracker extends ActivatableTracker
*/
this.state = getTrackerState();
Long fromCommitTime = getTxFromCommitTime(txnsFound,
state.getLastIndexedTxCommitTime() == 0 ? state.getLastGoodTxCommitTimeInIndex()
: state.getLastIndexedTxCommitTime());
Long fromCommitTime = getTxFromCommitTime(txnsFound,state.getLastGoodTxCommitTimeInIndex());
// Get transaction list to be indexed
if (docRouter instanceof DBIDRangeRouter && txIntervalCommitTimeServiceAvailable)