Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-19650

ExpiredMobFileCleaner has wrong logic about TTL check

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mob
    • Labels:
      None

      Description

      when MobUtils.cleanExpiredMobFiles execute, fileDate will be less than expireDate even if they were on the same day, because expireDate contains MILLISECOND info, so ExpiredMobFileCleaner will clean more files than it should.

        Attachments

        1. HBASE-19650-master-v2.patch
          4 kB
          chenxu
        2. HBASE-19650-master-v1.patch
          3 kB
          chenxu

          Activity

            People

            • Assignee:
              javaman_chen chenxu
              Reporter:
              javaman_chen chenxu
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: