Merge pull request #1592 from Alfresco/fix/MNT-23303_MetadataTracker_hole_fix

MNT-23303 - Tracker should start off from lastGoodTxCommitTimeInIndex that takes into account the retention hole
This commit is contained in:
evasques
2022-11-30 10:54:01 +00:00
committed by GitHub
@@ -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)