You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by am...@apache.org on 2024/05/30 07:50:18 UTC
(jackrabbit-oak) 01/01: OAK-10836: Improve message 'Another copy of the index update is already running'
This is an automated email from the ASF dual-hosted git repository.
amitj pushed a commit to branch OAK-10836
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit ff7f1001de9f5ebde682436b57ae2159abf7fd87
Author: amjain <am...@adobe.com>
AuthorDate: Thu May 30 12:58:21 2024 +0530
OAK-10836: Improve message 'Another copy of the index update is already running'
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 83fb5282ac..37030734aa 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);