You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "keith-turner (via GitHub)" <gi...@apache.org> on 2023/06/02 20:11:09 UTC
[GitHub] [accumulo] keith-turner commented on a diff in pull request #3417: Refactor StoredTabletFile to contain a TabletFile
keith-turner commented on code in PR #3417:
URL: https://github.com/apache/accumulo/pull/3417#discussion_r1214789133
##########
server/base/src/main/java/org/apache/accumulo/server/util/ManagerMetadataUtil.java:
##########
@@ -199,7 +199,7 @@ public static void replaceDatafiles(ServerContext context, KeyExtent extent,
TabletMutator tablet = context.getAmple().mutateTablet(extent);
datafilesToDelete.forEach(tablet::deleteFile);
- scanFiles.forEach(tablet::putScan);
+ scanFiles.stream().forEach(tablet::putScan);
Review Comment:
Curios why `.stream()` was added here.
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org