https://github.com/voldemort/voldemort
Revision 83876032a086868fff000f6d60e557220b8619f4 authored by Arunachalam Thirupathi on 09 January 2015, 22:41:19 UTC, committed by Arunachalam Thirupathi on 09 January 2015, 22:41:19 UTC
Cluster.equals returns true when the outline of the cluster is equal and when the node names are different. But this is not what we want in most cases. Let us say that you have a non-zoned cluster, on 2 different data centers. They are going to have the same node ids, same partitions but they are not equal. Even within the same data center if one cluster.xml has node 1 as A and other cluster.xml has node 1 as B, they are different but currently returns true. So modified the node equivalence to verify the equality.
1 parent fd71c8c
Tip revision: 83876032a086868fff000f6d60e557220b8619f4 authored by Arunachalam Thirupathi on 09 January 2015, 22:41:19 UTC
Cluster state equals and node names
Cluster state equals and node names
Tip revision: 8387603
File | Mode | Size |
---|---|---|
.settings | ||
bin | ||
clients | ||
config | ||
contrib | ||
docs | ||
example | ||
gradle | ||
private-lib | ||
public-lib | ||
src | ||
test | ||
voldemort-contrib | ||
.gitignore | -rw-r--r-- | 242 bytes |
CONTRIBUTORS | -rw-r--r-- | 659 bytes |
LICENSE | -rw-r--r-- | 11.1 KB |
NOTES | -rw-r--r-- | 2.5 KB |
NOTICE | -rw-r--r-- | 8.1 KB |
README.md | -rw-r--r-- | 4.4 KB |
build.gradle | -rw-r--r-- | 19.5 KB |
build.xml | -rw-r--r-- | 22.1 KB |
gradle.properties | -rw-r--r-- | 1.2 KB |
gradlew | -rwxr-xr-x | 5.0 KB |
gradlew.bat | -rw-r--r-- | 2.3 KB |
release_notes.txt | -rw-r--r-- | 38.3 KB |
settings.gradle | -rw-r--r-- | 149 bytes |
tomcat-tasks.properties | -rw-r--r-- | 420 bytes |
web.xml | -rw-r--r-- | 1.1 KB |
Computing file changes ...