Copilot commented on code in PR #8943:
URL: https://github.com/apache/hbase/pull/8943#discussion_r4737798274
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCleanupUtil.java:
##########
@@ -205,14 +205,12 @@ private static void
checkColumnFamilyDescriptor(Configuration conf, TableName ta
// MOB belonged to a region no longer hosted and is not referenced by
any store file.
// After a split or merge, the children keep referencing the MOB files
of the parent
// regions until the MOB cells are rewritten by a MOB compaction.
- long creationTime = fs.getFileStatus(p).getModificationTime();
- if (creationTime < maxCreationTimeToArchive) {
- LOG.trace("Archiving MOB file {} creation time={}", p,
- (fs.getFileStatus(p).getModificationTime()));
+ long modificationTime = lfs.getModificationTime();
+ if (modificationTime < maxCreationTimeToArchive) {
+ LOG.trace("Archiving MOB file {} modification time={}", p,
modificationTime);
Review Comment:
Could you link the corresponding branch-2 pull request in the description,
or confirm whether one has been prepared? `MobFileCleanupUtil` also contains
the MOB-file age check on `branch-2`, but no companion PR is identified in the
description or comments.
--
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]