cshannon commented on code in PR #3417:
URL: https://github.com/apache/accumulo/pull/3417#discussion_r1214368435
##########
server/base/src/main/java/org/apache/accumulo/server/util/ManagerMetadataUtil.java:
##########
@@ -199,10 +199,10 @@ public static void replaceDatafiles(ServerContext
context, KeyExtent extent,
TabletMutator tablet = context.getAmple().mutateTablet(extent);
datafilesToDelete.forEach(tablet::deleteFile);
- scanFiles.forEach(tablet::putScan);
+
scanFiles.stream().map(StoredTabletFile::getTabletFile).forEach(tablet::putScan);
Review Comment:
It turns out that we only ever call this in one spot and we have a
StoredTabletFile so I am just going to switch putScan() to take a
StoredTabletFile instead.
--
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]