You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Gray (JIRA)" <ji...@apache.org> on 2010/11/29 22:08:11 UTC
[jira] Created: (HBASE-3284) In master when handling a split, the
offline of parent and online of children is not done atomically
In master when handling a split, the offline of parent and online of children is not done atomically
----------------------------------------------------------------------------------------------------
Key: HBASE-3284
URL: https://issues.apache.org/jira/browse/HBASE-3284
Project: HBase
Issue Type: Bug
Components: master
Affects Versions: 0.90.0
Reporter: Jonathan Gray
Fix For: 0.92.0
In AssignmentManager.handleSplitReport() we do:
{noformat}
regionOffline(parent);
regionOnline(a, hsi);
regionOnline(b, hsi);
{noformat}
Within each of these, there is locking, but there is no locking around this entire operation. There should be.
This might be the cause of HBASE-3278
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-3284) In master when handling a split, the
offline of parent and online of children is not done atomically
Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964945#action_12964945 ]
Jonathan Gray commented on HBASE-3284:
--------------------------------------
I didn't target at 0.90 yet though I think we should fix this for 0.90.0. Wanted to discuss first. It might not be trivial to fix.
> In master when handling a split, the offline of parent and online of children is not done atomically
> ----------------------------------------------------------------------------------------------------
>
> Key: HBASE-3284
> URL: https://issues.apache.org/jira/browse/HBASE-3284
> Project: HBase
> Issue Type: Bug
> Components: master
> Affects Versions: 0.90.0
> Reporter: Jonathan Gray
> Fix For: 0.92.0
>
>
> In AssignmentManager.handleSplitReport() we do:
> {noformat}
> regionOffline(parent);
> regionOnline(a, hsi);
> regionOnline(b, hsi);
> {noformat}
> Within each of these, there is locking, but there is no locking around this entire operation. There should be.
> This might be the cause of HBASE-3278
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.