You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/10/12 15:10:10 UTC

[GitHub] [accumulo] keith-turner commented on a change in pull request #1670: #1631 - Tablet in memory compaction ID is updated before metadata write

keith-turner commented on a change in pull request #1670:
URL: https://github.com/apache/accumulo/pull/1670#discussion_r503361350



##########
File path: server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/DatafileManager.java
##########
@@ -458,6 +457,7 @@ StoredTabletFile bringMajorCompactionOnline(Set<StoredTabletFile> oldDatafiles,
         filesInUseByScans, newFile, compactionId, dfv,
         tablet.getTabletServer().getClientAddressString(), lastLocation,
         tablet.getTabletServer().getLock());
+    tablet.setLastCompactionID(compactionId);

Review comment:
       Actually that comment is still relevant.  The tablet's list of files are still being updated before the the metadata table update is made.  For minor compactions the tablets list of files is updated after the metadata update. The comment was referring to when the in memory list of files is updated.




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org