Created
January 22, 2010 19:25
-
-
Save afeinberg/284058 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/java/voldemort/cluster/failuredetector/AbstractFailureDetector.java b/src/java/voldemort/cluster/failuredetector/Ab | |
index 146cdba..2ad9c3c 100644 | |
--- a/src/java/voldemort/cluster/failuredetector/AbstractFailureDetector.java | |
+++ b/src/java/voldemort/cluster/failuredetector/AbstractFailureDetector.java | |
@@ -216,8 +216,8 @@ public abstract class AbstractFailureDetector implements FailureDetector { | |
if(nodeStatus == null) { | |
logger.warn("creating new node status for node " + node + " for failure detector."); | |
- nodeStatusMap.put(node, createNodeStatus(node, failureDetectorConfig.getTime() | |
- .getMilliseconds())); | |
+ nodeStatus = createNodeStatus(node, failureDetectorConfig.getTime().getMilliseconds()); | |
+ nodeStatusMap.put(node, nodeStatus); | |
} | |
return nodeStatus; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment