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

This commit is contained in:
Eva Vasques
2022-11-29 11:16:54 +00:00
parent 97d030cb87
commit 011fa7220c

View File

@@ -944,9 +944,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)