MNT-23022 - Use last good commit time in index in the acl tracker as when we lose connection some acl changesets may get skipped

This commit is contained in:
Eva Vasques
2022-05-10 10:56:03 +01:00
parent a939c13a8e
commit ced4c26b12
@@ -723,9 +723,7 @@ public class AclTracker extends ActivatableTracker
this.state = getTrackerState();
Long fromCommitTime = getChangeSetFromCommitTime(changeSetsFound,
state.getLastChangeSetCommitTimeOnServer() == 0 ? state.getLastGoodChangeSetCommitTimeInIndex()
: state.getLastChangeSetCommitTimeOnServer());
Long fromCommitTime = getChangeSetFromCommitTime(changeSetsFound, state.getLastGoodChangeSetCommitTimeInIndex());
aclChangeSets = getSomeAclChangeSets(changeSetsFound, fromCommitTime, timeStep, maxNumberOfAclChangeSets,
state.getTimeToStopIndexing());