diff --git a/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java b/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java index 8ff4a4254d8..f9e613cb0ab 100644 --- a/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java +++ b/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java @@ -1313,6 +1313,7 @@ public class InternalEngine extends AbstractIndexShardComponent implements Engin @Override public void close() throws ElasticsearchException { + logger.debug("close now acquire writeLock"); try (InternalLock _ = writeLock.acquire()) { logger.debug("close acquired writeLock"); if (!closed) {