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

HStore.removeCompactedFiles should log in case it is unable to delete a file

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      if (r != null && r.isCompactedAway() && !r.isReferencedInReads())

      If above check fails then there will be some files which are compacted but not getting cleaned up. It is good to log which helps in debugging the issue. This would let us know why is getting cleaned. either with reference pending or compatedaway is not set.

      This will help debug issues like :

      1. HBASE-20933

      Attachments

        1. HBASE-20935.v2.patch
          1 kB
          Vishal Khandelwal
        2. HBASE-20935.branch-1.3.v2.patch
          0.9 kB
          Vishal Khandelwal
        3. HBASE-20935.patch
          1 kB
          Vishal Khandelwal
        4. HBASE-20935.branch-1.3.patch
          1.0 kB
          Vishal Khandelwal

        Issue Links

          Activity

            People

              vishk Vishal Khandelwal
              vishk Vishal Khandelwal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: