[ https://issues.apache.org/jira/browse/HBASE-19650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305946#comment-16305946 ]
chenxu commented on HBASE-19650: -------------------------------- bq. The way to fix this issue is to set the millisecond to 0 as well. Is it okay for you? yes, that's okay > ExpiredMobFileCleaner has wrong logic about TTL check > ----------------------------------------------------- > > Key: HBASE-19650 > URL: https://issues.apache.org/jira/browse/HBASE-19650 > Project: HBase > Issue Type: Bug > Components: mob > Reporter: chenxu > Assignee: chenxu > Attachments: HBASE-19650-master-v1.patch > > > If today is 2017-12-28 00:00:01, and TTL is set to 86400, when > MobUtils.cleanExpiredMobFiles execute, expireDate will be 1514304000749, but > fileDate is 1514304000000. So the fileDate before the expireDate and mobfiles > generated in is 2017-12-27 will all are deleted. But in fact, we want to > delete files before 2017-12-27. -- This message was sent by Atlassian JIRA (v6.4.14#64029)