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

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


The following commit(s) were added to refs/heads/main by this push:
     new 15d0335d00 Fix issue with ZooStore properties not being read due to 
name change (#2839)
15d0335d00 is described below

commit 15d0335d00804b22ce1306a618d09e52cc523c95
Author: Dave Marion <dlmar...@apache.org>
AuthorDate: Tue Aug 2 09:18:42 2022 -0400

    Fix issue with ZooStore properties not being read due to name change (#2839)
    
    PR #2829 changed the Fate ZooKeeper path for storing and retrieving
    the Fate properties for a specific Fate transaction. But, one was
    missed.
    
    Closes #2837
---
 core/src/main/java/org/apache/accumulo/fate/ZooStore.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/accumulo/fate/ZooStore.java 
b/core/src/main/java/org/apache/accumulo/fate/ZooStore.java
index 886b4e0e97..c0907bb7d5 100644
--- a/core/src/main/java/org/apache/accumulo/fate/ZooStore.java
+++ b/core/src/main/java/org/apache/accumulo/fate/ZooStore.java
@@ -460,7 +460,7 @@ public class ZooStore<T> implements TStore<T> {
         System.arraycopy(sera, 0, data, 2, sera.length);
         data[0] = 'O';
         data[1] = ' ';
-        zk.putPersistentData(getTXPath(tid) + "/prop_" + prop, data, 
NodeExistsPolicy.OVERWRITE);
+        zk.putPersistentData(getTXPath(tid) + "/" + prop, data, 
NodeExistsPolicy.OVERWRITE);
       }
     } catch (Exception e2) {
       throw new RuntimeException(e2);

Reply via email to