keith-turner commented on code in PR #5026:
URL: https://github.com/apache/accumulo/pull/5026#discussion_r1834841653


##########
core/src/main/java/org/apache/accumulo/core/util/compaction/CompactionJobPrioritizer.java:
##########
@@ -44,6 +49,11 @@ public static short createPriority(CompactionKind kind, int 
totalFiles, int comp
         return (short) prio;
       case SELECTOR:
       case SYSTEM:
+        // Given that tablets with too many files cause several problems,
+        // boost their priority to the maximum allowed value.
+        if (condition == Condition.TABLET_OVER_SIZE) {
+          return Short.MAX_VALUE;

Review Comment:
   In your changes to the monitor its now scanning the metadata table 
periodically.  In that scan it could compute the number of tablets over the max 
per table and display that on the monitor. 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to