From e9a953d6940ce924e2fe7d6da74e96cbcd49b482 Mon Sep 17 00:00:00 2001 From: Dave Marion Date: Fri, 17 Jan 2025 10:46:48 -0500 Subject: [PATCH] Fix path in TableZooHelper when clearing ZooCache entry (#5270) --- .../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();