J. Casalino created OAK-4710:
--------------------------------
Summary: 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: Bug
Reporter: J. Casalino
Priority: Minor
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)