[
https://issues.apache.org/jira/browse/HBASE-22806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911052#comment-16911052
]
Pankaj Kumar edited comment on HBASE-22806 at 8/20/19 7:02 AM:
---------------------------------------------------------------
The problem happens when region memstore contain entries for the deleted CF and
CF is deleted dynamically (without disabling the table). 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.
was (Author: pankaj2461):
The problem happens when region memstore contain entries for the deleted CF and
CF is deleted dynamically (without disabling the table). Since we delete the CF
from FS first and then reopen the region and during reopen RS will flush the
memstore content to FS. So store fille will contain the memstore content for
the deleted CF.
> Recreating a deleted column family brings back the deleted cells
> ----------------------------------------------------------------
>
> Key: HBASE-22806
> URL: https://issues.apache.org/jira/browse/HBASE-22806
> Project: HBase
> Issue Type: Bug
> Components: API
> Affects Versions: 2.1.3
> Environment: Scala
> HBase Java Client
> Mac/Linux
> Reporter: Chao
> Priority: Major
>
> Steps to reproduce the bug:
> # Create a table with column family CF
> # Add some cells C1, C2 in CF
> # Remove CF using either:
> ** TableDescriptorBuilder.removeColumnFamily() and Admin.modifyTable()
> ** Admin.deleteColumnFamily()
> # Create CF again
> Expected: no cells (all cells marked as deleted) in CF
> Actual: C1, C2 shows up automatically in CF
> Extra information: in step 3, if doing Admin.modifyColumnFamily() without
> actually changing anything, then after step 4 the cells won't come back.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)