cshannon commented on code in PR #3417:
URL: https://github.com/apache/accumulo/pull/3417#discussion_r1207940190
##########
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);
if (path.isPresent()) {
- tablet.putFile(path.orElseThrow(), size);
+ tablet.putFile(path.orElseThrow().getTabletFile(), size);
Review Comment:
Same as my other comment, once #3432 is merged I will update this line to
pass in the StoredTabletFile as that PR adds a new overloaded method that will
take a StoredTabletFile instead of TabletFile.
--
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]