[ https://issues.apache.org/jira/browse/OAK-4710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-4710. ---------------------------------- Resolution: Fixed Fix Version/s: 1.5.13 Change the log message to also include clock time by which indexing can resume {noformat} 19:45:31.472 WARN [async-index-update-async] AsyncIndexUpdate.java:820 [async] The index update failed java.lang.Exception: Another copy of the index update is already running; skipping this update. Time left for lease to expire 1799 s. Indexing can resume by 20:15:31 at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.runWhenPermitted(AsyncIndexUpdate.java:404) [classes/:na] {noformat} Done with r1766537 [~casal...@adobe.com] Hope this meets your requirements > AsyncIndexUpdate delay time should show clock time left > ------------------------------------------------------- > > Key: OAK-4710 > URL: https://issues.apache.org/jira/browse/OAK-4710 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: query > Reporter: J. Casalino > Assignee: Chetan Mehrotra > Priority: Minor > Fix For: 1.5.13 > > > When an async index update task is in progress, oak delays the lease for a > new async index task to start for 1500 seconds. > When the actual countdown is performed, display counts down 5 seconds at a > time 1500s..1495s..1490s...1485s... rather than counting down with a more > useful clock time 25:00...24:55...24:50... so I don't have to keep > calculating exactly how long we have left to wait for the timeout to expire. > 26.08.2016 14:55:35.356 *DEBUG* [pool-8-thread-5] > org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Running background > index task async > 26.08.2016 14:55:35.356 *DEBUG* [pool-8-thread-5] > org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Another copy of the > async index update is already running; skipping this update. Time left for > lease to expire 295s -- This message was sent by Atlassian JIRA (v6.3.4#6332)