jhungund commented on code in PR #6360:
URL: https://github.com/apache/hbase/pull/6360#discussion_r1798758505


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.java:
##########
@@ -137,10 +137,14 @@ public void addAllocation(long offset) throws 
BucketAllocatorException {
         if (matchFound) freeList[i - 1] = freeList[i];
         else if (freeList[i] == idx) matchFound = true;
       }
-      if (!matchFound) throw new BucketAllocatorException(
-        "Couldn't find match for index " + idx + " in free list");
+      if (!matchFound) {
+        LOG.warn("We found more entries for bucket than the bucket capacity. "
+          + "Skipping entry at cache offset {}", offset);

Review Comment:
   ack!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to