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

Deleted CF are not cleared if memstore contain entries

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0, 2.2.1, 2.1.6
    • Component/s: API
    • Labels:
      None
    • Environment:

      Scala

      HBase Java Client

      Mac/Linux

    • Hadoop Flags:
      Reviewed

      Description

      While deleting the CF dynamically (without disabling the table), CF dirs are not cleared from FS when region memstore contain entries for that CF. 

      Since we delete the CF from FS first and then reopen the region, during reopen RS will flush the memstore content to FS. So deleted CF store will contain the memstore content for the deleted CF. 

      So adding back same CF will have old entries.

        Attachments

        1. HBASE-22806_UT.patch
          4 kB
          Pankaj Kumar

          Issue Links

            Activity

              People

              • Assignee:
                pankaj2461 Pankaj Kumar
                Reporter:
                lichaoir Chao
              • Votes:
                1 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: