cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-902) Bootstrapping might skip needed ranges.
Date Wed, 17 Mar 2010 20:31:27 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846570#action_12846570
] 

Jonathan Ellis commented on CASSANDRA-902:
------------------------------------------

+1 0.6 and trunk

> Bootstrapping might skip needed ranges.
> ---------------------------------------
>
>                 Key: CASSANDRA-902
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-902
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>             Fix For: 0.6
>
>         Attachments: bootstrap-range-addr-calculation.txt
>
>
> Bootstrapper.getRangeWithSources should return a multimap with as many keys as myRangeAddresses.
 But with the way the two loops are structured, they are not guaranteed to ever examine all
of myRanges.  To see why, consider a scenario where the inner-loop breaks on the first element
in myRanges.  myRangeAddresses will only ever have one key in it.
> Solution is to swap the order of the loops.

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


Mime
View raw message