This is an automated email from the ASF dual-hosted git repository.

amitj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 14378839c9 OAK-10836: Improve message 'Another copy of the index 
update is already running' (#1495)
14378839c9 is described below

commit 14378839c9c149f5b6747429e7fd360f4659f86b
Author: Amit Jain <[email protected]>
AuthorDate: Wed Aug 28 12:45:12 2024 +0530

    OAK-10836: Improve message 'Another copy of the index update is already 
running' (#1495)
    
    Minor: Changed message
---
 .../java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java
 
b/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java
index 14116cf766..e840a98957 100644
--- 
a/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java
+++ 
b/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java
@@ -107,7 +107,7 @@ public class AsyncIndexUpdate implements Runnable, 
Closeable {
      * Name of service property which determines the name of Async task
      */
     public static final String PROP_ASYNC_NAME = "oak.async";
-    private static final String CONCURRENT_EXCEPTION_MSG ="Another copy of the 
index update is already running; skipping this update. ";
+    private static final String CONCURRENT_EXCEPTION_MSG ="The index was not 
updated. Waiting for the lease to expire (another copy might be still running); 
skipping this update. ";
     private static final Logger log = LoggerFactory
             .getLogger(AsyncIndexUpdate.class);
 

Reply via email to