You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/04/29 00:19:49 UTC

[jira] Commented: (HBASE-2499) Race condition when disabling a table leaves regions in transition

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

Jean-Daniel Cryans commented on HBASE-2499:
-------------------------------------------

Testing a bit more with instrumentation, the first part of the patch does nothing. I won't commit it if this patch is +1ed.

> Race condition when disabling a table leaves regions in transition
> ------------------------------------------------------------------
>
>                 Key: HBASE-2499
>                 URL: https://issues.apache.org/jira/browse/HBASE-2499
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.3
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>            Priority: Blocker
>             Fix For: 0.20.4, 0.21.0
>
>         Attachments: HBASE-2499.patch
>
>
> A lot of people reported that weren't able to add/delete a column because only some of the regions got the modification. I personally thought it was due to the CME bug in the Master, but I'm able to easily reproduce on 0.20.4 on a 1800 regions table.
> Since 0.20.3, we now call disableTable after every retry to make sure we don't miss any region. This creates a race where while we scan .META. in TableOperation, a region could be reported as closed after we scanned the row. We end up processing it like if it was assigned and we put it back into regionsInTransition. We need to either query .META. before processing each region or make some more check to see if the region was closed.
> This kills the RC in my book.
> In the mean time, anyone getting this can restart their HBase and it will pick up the change.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.