thomasmueller opened a new pull request, #3115:
URL: https://github.com/apache/jackrabbit-oak/pull/3115

   
   * OAK-12394: Initialise LAST_INDEXED_TIME counter from durable repo property 
on startup
   
   The LAST_INDEXED_TIME counter starts at 0 on every restart, so a lane that 
fails immediately after restart is invisible to monitoring — the counter never 
advances past 0 and the > 0 guard in alert queries silently drops it.
   
   Initialise the counter at construction from the durable 
:async/<lane>-LastIndexedTo repository property. A correct non-zero value is 
then visible from the first scrape after startup, even if the lane has not yet 
completed a successful cycle.
   
   * Update 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java
   
   
   
   ---------


-- 
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]

Reply via email to