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-513) bootstrapper should consult the replicationstrategy for determining which replicas to request data from
Date Mon, 02 Nov 2009 18:48:59 GMT

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

Jonathan Ellis commented on CASSANDRA-513:
------------------------------------------

alternate patches attached.  first is mostly cleanup.  2nd uses more straightforward proximity,
and returns List instead of HashSet (which destroys ordering).

02
    add sortByProximity and use to prefer bootstrap from closer nodes

01
    refactor getDefaultToken into default checking + getRandomToken.  Decorate OPP keys so
we don't have to special case IndexedDKs for getSplits.


> bootstrapper should consult the replicationstrategy for determining which replicas to
request data from
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-513
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-513
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Vijay
>             Fix For: 0.5
>
>         Attachments: 0001-CASSANDRA-513-refactor-getDefaultToken-into-default-ch.txt,
0002-add-sortByProximity-and-use-to-prefer-bootstrap-from-c.txt, cas-bsdc.patch
>
>
> StorageService.findSuitableEndPoint is currently the only place we do this
> BootStrapper.getWorkMap should also try to read from "close" nodes (in same rack, or
same DC)
> also, this TODO from getWorkMap:
>         // TODO look for contiguous ranges and map them to the same source
> (this requires CASSANDRA-483 to be finished)

-- 
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