cshannon commented on code in PR #3934:
URL: https://github.com/apache/accumulo/pull/3934#discussion_r1384957235


##########
server/manager/src/main/java/org/apache/accumulo/manager/tableOps/merge/ReserveTablets.java:
##########
@@ -53,17 +58,25 @@ public long isReady(long tid, Manager env) throws Exception 
{
     log.debug("{} reserving tablets in range {}", FateTxId.formatTid(tid), 
range);
     var opid = TabletOperationId.from(TabletOperationType.MERGING, tid);
 
+    AtomicLong opsAccepted = new AtomicLong(0);
+    BiConsumer<KeyExtent,Ample.ConditionalResult> resultConsumer = (extent, 
result) -> {

Review Comment:
   I'm wondering if we should have some shared Abstract class or utility for 
`ReserveTablets` for things like this BiConsumer that are basically identical 
between delete/merge



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