This is an automated email from the ASF dual-hosted git repository.

dlmarion pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.1 by this push:
     new e9a953d694 Fix path in TableZooHelper when clearing ZooCache entry 
(#5270)
e9a953d694 is described below

commit e9a953d6940ce924e2fe7d6da74e96cbcd49b482
Author: Dave Marion <dlmar...@apache.org>
AuthorDate: Fri Jan 17 10:46:48 2025 -0500

    Fix path in TableZooHelper when clearing ZooCache entry (#5270)
---
 .../main/java/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 de53d2bf1e..7487ed5763 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 class TableZooHelper implements AutoCloseable {
     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();

Reply via email to