helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject [1/2] git commit: [HELIX-414] Fix property store paths for rsync recipe
Date Tue, 25 Mar 2014 21:34:49 GMT
Repository: helix
Updated Branches:
  refs/heads/master 6bd9fd571 -> d932c3ba2


[HELIX-414] Fix property store paths for rsync recipe


Project: http://git-wip-us.apache.org/repos/asf/helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/1e1449d7
Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/1e1449d7
Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/1e1449d7

Branch: refs/heads/master
Commit: 1e1449d70c336aa54e7ed047a423c361d086f8dd
Parents: 6bd9fd5
Author: Kanak Biscuitwala <kanak@apache.org>
Authored: Tue Mar 25 14:17:13 2014 -0700
Committer: Kanak Biscuitwala <kanak@apache.org>
Committed: Tue Mar 25 14:23:15 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/helix/filestore/FileStoreStateModel.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/1e1449d7/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/FileStoreStateModel.java
----------------------------------------------------------------------
diff --git a/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/FileStoreStateModel.java
b/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/FileStoreStateModel.java
index cce0277..6eaf808 100644
--- a/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/FileStoreStateModel.java
+++ b/recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/FileStoreStateModel.java
@@ -151,12 +151,12 @@ public class FileStoreStateModel extends StateModel {
     final ChangeRecord lastRecordProcessed = checkpointFile.findLastRecordProcessed();
     DataUpdater<ZNRecord> updater = new HighWaterMarkUpdater(message, lastRecordProcessed);
     helixPropertyStore.update(
-        "TRANSACTION_ID_METADATA" + "/" + message.getResourceId().stringify(), updater,
+        "/TRANSACTION_ID_METADATA" + "/" + message.getResourceId().stringify(), updater,
         AccessOption.PERSISTENT);
     Stat stat = new Stat();
     ;
     ZNRecord znRecord =
-        helixPropertyStore.get("TRANSACTION_ID_METADATA" + "/"
+        helixPropertyStore.get("/TRANSACTION_ID_METADATA" + "/"
             + message.getResourceId().stringify(), stat, AccessOption.PERSISTENT);
     int startGen = Integer.parseInt(znRecord.getSimpleField("currentGen"));
     int startSeq = Integer.parseInt(znRecord.getSimpleField("currentGenStartSeq"));


Mime
View raw message