From b925d66dfce3bf9752209243d495fef76dffeced Mon Sep 17 00:00:00 2001 From: naveenaechan Date: Mon, 11 Dec 2023 22:15:19 +0530 Subject: [PATCH] PLT-191: disable cache for index recovery --- .../janusgraph/graphdb/log/StandardTransactionLogProcessor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/janusgraph-core/src/main/java/org/janusgraph/graphdb/log/StandardTransactionLogProcessor.java b/janusgraph-core/src/main/java/org/janusgraph/graphdb/log/StandardTransactionLogProcessor.java index 5a2c0ce3d1c..0f959f5f853 100644 --- a/janusgraph-core/src/main/java/org/janusgraph/graphdb/log/StandardTransactionLogProcessor.java +++ b/janusgraph-core/src/main/java/org/janusgraph/graphdb/log/StandardTransactionLogProcessor.java @@ -393,12 +393,14 @@ protected void waitCondition() throws InterruptedException { @Override protected void action() { + graph.setEnableCache(false); lastInvocation = times.getTime(); txCache.cleanUp(); } @Override protected void cleanup() { + graph.setEnableCache(false); txCache.cleanUp(); } }