Permalink
Browse files

Small fix with error log in Histogram

  • Loading branch information...
1 parent fd33676 commit e72630c2582b70b0d67c975b165084e39dd20d03 Chinmay Soman committed Mar 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/java/voldemort/store/stats/Histogram.java
@@ -63,6 +63,7 @@ public synchronized void insert(long data) {
int index = findBucket(data);
if(index == -1) {
logger.error(data + " can't be bucketed, is invalid!");
+ return;
}
buckets[index]++;
size++;

0 comments on commit e72630c

Please sign in to comment.