From 9cd5c398c7ddff50a25fe51e3534c8ded1572a6d Mon Sep 17 00:00:00 2001 From: Dave Marion Date: Fri, 17 Jan 2025 15:32:48 +0000 Subject: [PATCH] Fix path in TableZooHelper when clearing ZooCache entry --- .../org/apache/accumulo/core/util/tables/TableZooHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/accumulo/core/util/tables/TableZooHelper.java b/core/src/main/java/org/apache/accumulo/core/util/tables/TableZooHelper.java index de53d2bf1ea..7487ed57637 100644 --- a/core/src/main/java/org/apache/accumulo/core/util/tables/TableZooHelper.java +++ b/core/src/main/java/org/apache/accumulo/core/util/tables/TableZooHelper.java @@ -179,7 +179,7 @@ public TableState getTableState(TableId tableId, boolean clearCachedState) { String statePath = context.getZooKeeperRoot() + Constants.ZTABLES + "/" + tableId.canonical() + Constants.ZTABLE_STATE; if (clearCachedState) { - context.getZooCache().clear(context.getZooKeeperRoot() + statePath); + context.getZooCache().clear(statePath); instanceToMapCache.invalidateAll(); } ZooCache zc = context.getZooCache();