Skip to content

Commit

Permalink
Review and cleanup of consistency checker.
Browse files Browse the repository at this point in the history
- added required argument for an output file name for bad keys
- changed Reporter to print out 'just the key' to the output file; it
  outputs more info at DEBUG level in general.
- removed 'quiet' option
- throw exceptions:
  - if # partitions differ across clusters
  - if replication factor is hinky
  - if isExpired encounters unknown type
- main catches exceptions and fails fast
- changed system.out debugging to logger.trace
  • Loading branch information
jayjwylie committed Mar 20, 2013
1 parent c66a0c2 commit cd62a15
Show file tree
Hide file tree
Showing 3 changed files with 129 additions and 71 deletions.
3 changes: 0 additions & 3 deletions src/java/log4j.properties
Expand Up @@ -19,6 +19,3 @@ log4j.logger.voldemort.utils=INFO
log4j.logger.voldemort.client.rebalance=INFO
log4j.logger.voldemort.server=INFO
log4j.logger.krati=WARN

# log4j.logger.voldemort.utils.ConsistencyFix=TRACE
# log4j.logger.voldemort.utils.ConsistencyFixWorker=DEBUG

0 comments on commit cd62a15

Please sign in to comment.