mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-17 14:21:20 +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);
|
aclCount = indexBatchOfChangeSets(changeSetBatch);
|
||||||
// Update last committed transactions
|
// Update last committed transactions
|
||||||
setLastChangeSetIdAndCommitTimeInTrackerState(changeSetBatch, state);
|
|
||||||
indexAclChangeSetAfterWorker(changeSetBatch, state);
|
indexAclChangeSetAfterWorker(changeSetBatch, state);
|
||||||
|
|
||||||
long endElapsed = System.nanoTime();
|
long endElapsed = System.nanoTime();
|
||||||
@@ -774,6 +773,9 @@ public class AclTracker extends ActivatableTracker
|
|||||||
totalAclCount += aclCount;
|
totalAclCount += aclCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update state with server data on last transactions processed
|
||||||
|
setLastChangeSetIdAndCommitTimeInTrackerState(aclChangeSets.getAclChangeSets(), state);
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(InterruptedException | ExecutionException e)
|
catch(InterruptedException | ExecutionException e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user