mihaibercea opened a new pull request, #3260: URL: https://github.com/apache/jackrabbit-oak/pull/3260
## Description `LAST_INDEXED_TIME` is initialized from `LastIndexedTo`, but non-leader members do not run the leader-only indexing task and retain their startup value. ## Changes - Persist a shared `LastSuccessfulCycle` timestamp with successful indexing updates and successful no-change cycles. - Refresh the existing counter on every member from the shared timestamp, while keeping indexing leader-only. - Keep `LastIndexedTo` as a fallback and preserve the existing counter/JMX `Count` contract. - Do not advance the shared timestamp when there is no successful cycle. - Add `oak.async.persistLastSuccessfulCycle` as a rollback switch, enabled by default. Successful no-change cycles add one repository commit per lane interval. ## Testing Oak indexing-package tests: 412 run, 0 failures, 0 errors, 3 skipped. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
