hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chenxu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-19650) ExpiredMobFileCleaner has wrong logic about TTL check
Date Thu, 28 Dec 2017 04:51:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-19650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

chenxu updated HBASE-19650:
---------------------------
    Status: Patch Available  (was: In Progress)

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

Mime
View raw message