cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8735) Batch log replication is not randomized when there are only 2 racks
Date Wed, 10 Jun 2015 21:12:02 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yuki Morishita updated CASSANDRA-8735:
--------------------------------------
    Attachment: 8735-v2.patch

I think randomize filtered endpoint is necessary anyway, otherwise those deterministic two
nodes always get batch log and will show high load compare to other nodes in the rack.

Updated patch attached so that we don't need to cast for shuffle and modified test to remove
deterministic assertion.

> Batch log replication is not randomized when there are only 2 racks
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-8735
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8735
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Yuki Morishita
>            Assignee: Mihai Suteu
>            Priority: Minor
>             Fix For: 2.1.x, 2.2.x
>
>         Attachments: 8735-v2.patch, CASSANDRA-8735.patch
>
>
> Batch log replication is not randomized and the same 2 nodes can be picked up when there
are only 2 racks in the cluster.
> https://github.com/apache/cassandra/blob/cassandra-2.0.11/src/java/org/apache/cassandra/service/BatchlogEndpointSelector.java#L72-73



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message