Add a new option for hash based comparison
commit12bf94045a4d2c5b687674b5e9598debc4eb7cd8
authorArunachalam Thirupathi <arunachalam.t@gmail.com>
Sat, 8 Feb 2014 00:08:42 +0000 (7 16:08 -0800)
committerArunachalam Thirupathi <arunachalam.t@gmail.com>
Thu, 13 Feb 2014 20:03:16 +0000 (13 12:03 -0800)
treeae73ca11952c8bb23703729562b9f5c394a8b880
parent804249d388ae4b10b4d21787fc5ddb7b504c91b0
Add a new option for hash based comparison

1) Refactored the code and introduced two types of comparison
version based and hash of the value based
2) The code was dependent on node 0 for boot strapping. fixed.
3) Enable the test testDetermineConsistencyHashValue and fixed it.
4) Now the consistency check tool takes a new option
      --comparison-type which defaults to version and can be
        forced to hash based comparison.
src/java/voldemort/utils/ConsistencyCheck.java
test/unit/voldemort/utils/ConsistencyCheckTest.java