guluo2016 commented on PR #8943:
URL: https://github.com/apache/hbase/pull/8943#issuecomment-7348933792

   The same issue exists in `RSMobFileCleanerChore.java` as well.
   ```
   // MOB is not in a list of active references, but it can be too
   // fresh, skip it in this case
   long creationTime = fs.getFileStatus(p).getModificationTime();
   if (creationTime < maxCreationTimeToArchive) {
     LOG.trace("Archiving MOB file {} creation time={}", p,
       (fs.getFileStatus(p).getModificationTime()));
     toArchive.add(p);
   } else {
     LOG.trace("Skipping fresh file: {}. Creation time={}", p,
       fs.getFileStatus(p).getModificationTime());
   }
   ```
   
   Maybe we can apply the same fix to RSMobFileCleanerChore.java as well.
   
   I think you should also update the issue description in Jira if you agree it.
   


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

Reply via email to