[ https://issues.apache.org/jira/browse/HBASE-19650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chenxu updated HBASE-19650: --------------------------- Attachment: HBASE-19650-master-v2.patch attach patch v2 > 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, HBASE-19650-master-v2.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)