[ 
https://issues.apache.org/jira/browse/HBASE-22806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16915212#comment-16915212
 ] 

Pankaj Kumar commented on HBASE-22806:
--------------------------------------

Issue is applicable to branch-1 also but fix will be different as BulkReOpen 
reopens the region asynchronously unlike GeneralBulkAssigner,

{code}

/**
 * Reopen the regions asynchronously, so always returns true immediately.
 * @return true
 */
 @Override
 protected boolean waitUntilDone(long timeout) {
 return true;
 }

{code}

To fix this problem in branch-1, we need to  add region reopen completion wait 
logic or disable-enable the table.

[~apurtell]  Please provide your opinion.

> Deleted CF are not cleared if memstore contain entries
> ------------------------------------------------------
>
>                 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
>            Assignee: Pankaj Kumar
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0, 2.1.7, 2.2.2
>
>         Attachments: HBASE-22806_UT.patch
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to