https://github.com/voldemort/voldemort
Revision 30bbdd5a306d1b87a8e92cd9254c8a1c132ed2db authored by Arunachalam Thirupathi on 09 May 2014, 21:22:07 UTC, committed by ARUNACHALAM THIRUPATHI on 10 May 2014, 18:20:57 UTC
Fix the new admin metadata check command and did the same change
for old admin command.

1) If check metadata fails it says true or false but not the
  actual failure.
2) Check metadata sometimes incorrectly reports failure depending
   on the order in which stores are returned.
3) Check metadata will reprot success if a store is completely missing
   from one of the nodes. It does not track number of times retrieved.

With this commit the check metadata is done using a map.

For stores check
The map will be from storeName to (map from store defintion
to nodeName)

for other
The map will be from object of that key to nodename.

This map will be used for consistency check. This map will group non
matching information to groups for easier analysis. The lenght of the
value in the map will be evaluated for missing information, solving the
problem 2 and 3 listed above
1 parent b5fcb89
History
Tip revision: 30bbdd5a306d1b87a8e92cd9254c8a1c132ed2db authored by Arunachalam Thirupathi on 09 May 2014, 21:22:07 UTC
check metadata incorrect results, hard analysis
Tip revision: 30bbdd5
File Mode Size
.settings
bin
clients
config
contrib
docs
example
lib
src
test
.classpath -rw-r--r-- 4.2 KB
.gitignore -rw-r--r-- 251 bytes
.project -rw-r--r-- 426 bytes
CONTRIBUTORS -rw-r--r-- 630 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.5 KB
build.gradle -rw-r--r-- 6.3 KB
build.xml -rw-r--r-- 21.8 KB
gradle.properties -rw-r--r-- 1.2 KB
release_notes.txt -rw-r--r-- 34.7 KB
tomcat-tasks.properties -rw-r--r-- 420 bytes
web.xml -rw-r--r-- 1.1 KB

README.md

back to top