mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-17 14:21:20 +00:00
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:
@@ -937,9 +937,7 @@ public class MetadataTracker extends ActivatableTracker
|
|||||||
*/
|
*/
|
||||||
this.state = getTrackerState();
|
this.state = getTrackerState();
|
||||||
|
|
||||||
Long fromCommitTime = getTxFromCommitTime(txnsFound,
|
Long fromCommitTime = getTxFromCommitTime(txnsFound,state.getLastGoodTxCommitTimeInIndex());
|
||||||
state.getLastIndexedTxCommitTime() == 0 ? state.getLastGoodTxCommitTimeInIndex()
|
|
||||||
: state.getLastIndexedTxCommitTime());
|
|
||||||
|
|
||||||
// Get transaction list to be indexed
|
// Get transaction list to be indexed
|
||||||
if (docRouter instanceof DBIDRangeRouter && txIntervalCommitTimeServiceAvailable)
|
if (docRouter instanceof DBIDRangeRouter && txIntervalCommitTimeServiceAvailable)
|
||||||
|
Reference in New Issue
Block a user