Merge pull request #1593 from Alfresco/fix/MNT-23303_MetadataTracker_hole_fix_20x

MNT-23303 - Tracker should start off from lastGoodTxCommitTimeInIndex…
This commit is contained in:
evasques
2023-01-05 12:43:34 +00:00
committed by GitHub

View File

@@ -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)