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

Deleted CF are not cleared if memstore contain entries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.3
    • 3.0.0-alpha-1, 2.3.0, 2.2.1, 2.1.6
    • API
    • None
    • Scala

      HBase Java Client

      Mac/Linux

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: