mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-10 14:11:25 +00:00
Merge pull request #1729 from Alfresco/fix/MNT-23636_acltx_update_state_fix
MNT-23636 - Last changeset transaction and id on server not updated
This commit is contained in:
@@ -765,7 +765,6 @@ public class AclTracker extends ActivatableTracker
|
||||
{
|
||||
aclCount = indexBatchOfChangeSets(changeSetBatch);
|
||||
// Update last committed transactions
|
||||
setLastChangeSetIdAndCommitTimeInTrackerState(changeSetBatch, state);
|
||||
indexAclChangeSetAfterWorker(changeSetBatch, state);
|
||||
|
||||
long endElapsed = System.nanoTime();
|
||||
@@ -774,6 +773,9 @@ public class AclTracker extends ActivatableTracker
|
||||
totalAclCount += aclCount;
|
||||
}
|
||||
|
||||
// Update state with server data on last transactions processed
|
||||
setLastChangeSetIdAndCommitTimeInTrackerState(aclChangeSets.getAclChangeSets(), state);
|
||||
|
||||
}
|
||||
catch(InterruptedException | ExecutionException e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user