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


##########
server/compaction-coordinator/src/main/java/org/apache/accumulo/coordinator/CompactionFinalizer.java:
##########
@@ -107,7 +107,8 @@ protected CompactionFinalizer(ServerContext context, 
ScheduledThreadPoolExecutor
 
   private SharedBatchWriter getWriter(ExternalCompactionId ecid) {
     return writers.computeIfAbsent(ecid.getFirstUUIDChar(),
-        (i) -> new SharedBatchWriter(Ample.DataLevel.USER.metaTable(), 
context, queueSize));
+        (prefix) -> new SharedBatchWriter(Ample.DataLevel.USER.metaTable(), 
prefix, context,
+            queueSize / 16));

Review Comment:
   When adding the debugging info noticed this queue size is the same for all 
16 writers, so divided it by 16.



-- 
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