keith-turner commented on code in PR #5906:
URL: https://github.com/apache/accumulo/pull/5906#discussion_r2365716129
##########
core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java:
##########
@@ -572,15 +574,15 @@ public void putSplits(String tableName,
SortedMap<Text,TabletMergeability> split
throw new CompletionException(e);
}
// wait for the fate operation to complete in a separate thread pool
- }, startExecutor).thenApplyAsync(pair -> {
- final TFateId opid = pair.getFirst();
- final List<Pair<Text,TabletMergeability>> completedSplits =
pair.getSecond();
Review Comment:
I suspect these variables were created to make the code more readable and
avoid getFirst and getSecond. After replacing w/ a record I inlined the
variables.
--
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]