cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-994) re-organize endpointsnitch implementations
Date Tue, 20 Apr 2010 19:32:52 GMT


Jonathan Ellis updated CASSANDRA-994:

    Attachment: 994-dc.txt

patch that removes DCEPS but leaves a todo for loading dcreplicationfactor from a .properties
file.  just  needs to support something like



> re-organize endpointsnitch implementations
> ------------------------------------------
>                 Key: CASSANDRA-994
>                 URL:
>             Project: Cassandra
>          Issue Type: Task
>    Affects Versions: 0.7
>            Reporter: Jonathan Ellis
>            Assignee: Erick Tryzelaar
>             Fix For: 0.7
>         Attachments: 0001-Mention-the-existence-of-SimpleSnitch-in-cassandra.x.patch,
0002-Rename-AbstractRackAwareSnitch-s-isOnSameRack-to-get.patch, 0003-DefsTest-needs-a-rack-aware-snitch-to-work.patch,
> I think the EPS implementations should look like this:
> IEndPointSnitch: rename to IEndpointSnitch (lowercase P), otherwise fine as it is
> SimpleSnitch: new default snitch.  Implement IEPS directly, with sorting as no-ops.
> AbstractEndpointSnitch: rename to AbstractRackAwareSnitch; replace isOnSameRack and isInSameDataCenter
with getRack and getDatacenter (replacing getLocation).
> EndPointSnitch: rename to RackInferringSnitch
> PropertyFileEndpointSnitch: rename to PropertyFileSnitch, move from contrib to src
> DatacenterEndpointSnitch: remove (redundant wrt PFS). "quorum factor per DC" needs to
go in the ReplicationStrategy, not the snitch.
> The patch sequence looks like:
> 01: perform renames of IEPS, AES, EPS, and PFES
> 02: add SS and make method changes to ARAS [was AES]
> Separate ticket: DatacenterReplicationStrategy code changes

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

View raw message