You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jaakko Laine (JIRA)" <ji...@apache.org> on 2009/11/23 10:28:39 UTC

[jira] Created: (CASSANDRA-573) handle empty unbootstrap ranges

handle empty unbootstrap ranges
-------------------------------

                 Key: CASSANDRA-573
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-573
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.5
            Reporter: Jaakko Laine
             Fix For: 0.5


If there are no ranges needing transfer during unbootstrap, unbootstrap fails to complete.


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


[jira] Commented: (CASSANDRA-573) handle empty unbootstrap ranges

Posted by "Jaakko Laine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781735#action_12781735 ] 

Jaakko Laine commented on CASSANDRA-573:
----------------------------------------

Ranges needing transfer lists only ranges that the new endpoints do not already have. If ReplicationFactor == number_of_nodes, then rangesMM will be empty, as all nodes already have all ranges.


> handle empty unbootstrap ranges
> -------------------------------
>
>                 Key: CASSANDRA-573
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-573
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Jaakko Laine
>             Fix For: 0.5
>
>         Attachments: 573-handle-empty-unbootstrap-ranges.patch
>
>
> If there are no ranges needing transfer during unbootstrap, unbootstrap fails to complete.

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


[jira] Commented: (CASSANDRA-573) handle empty unbootstrap ranges

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781466#action_12781466 ] 

Jonathan Ellis commented on CASSANDRA-573:
------------------------------------------

How could you not have any ranges needing transfer during unbootstrap?

If it isn't part of the ring at all (i.e. never completed bootstrap in the first place), we should throw an error if unbootstrap is invoked.

> handle empty unbootstrap ranges
> -------------------------------
>
>                 Key: CASSANDRA-573
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-573
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Jaakko Laine
>             Fix For: 0.5
>
>         Attachments: 573-handle-empty-unbootstrap-ranges.patch
>
>
> If there are no ranges needing transfer during unbootstrap, unbootstrap fails to complete.

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


[jira] Commented: (CASSANDRA-573) handle empty unbootstrap ranges

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782392#action_12782392 ] 

Hudson commented on CASSANDRA-573:
----------------------------------

Integrated in Cassandra #268 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/268/])
    Moved leaving ring code to a separate helper function and call it right away if rangesMM is empty.  patch by Jaakko Laine; reviewed by jbellis for 


> handle empty unbootstrap ranges
> -------------------------------
>
>                 Key: CASSANDRA-573
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-573
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Jaakko Laine
>            Assignee: Jaakko Laine
>             Fix For: 0.5
>
>         Attachments: 573-handle-empty-unbootstrap-ranges.patch
>
>
> If there are no ranges needing transfer during unbootstrap, unbootstrap fails to complete.

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


[jira] Updated: (CASSANDRA-573) handle empty unbootstrap ranges

Posted by "Jaakko Laine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaakko Laine updated CASSANDRA-573:
-----------------------------------

    Attachment: 573-handle-empty-unbootstrap-ranges.patch

Moved leaving ring code to a separate helper function and call it right away if rangesMM is empty.


> handle empty unbootstrap ranges
> -------------------------------
>
>                 Key: CASSANDRA-573
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-573
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Jaakko Laine
>             Fix For: 0.5
>
>         Attachments: 573-handle-empty-unbootstrap-ranges.patch
>
>
> If there are no ranges needing transfer during unbootstrap, unbootstrap fails to complete.

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