dlmarion commented on code in PR #5026:
URL: https://github.com/apache/accumulo/pull/5026#discussion_r1828079139
##########
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:
Backported the other ranges and implemented your suggestion in 30644f1
--
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]