[
https://issues.apache.org/jira/browse/CASSANDRA-8735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Suteu updated CASSANDRA-8735:
-----------------------------------
Attachment: CASSANDRA-8735.patch
Created a patch for cassandra-2.2
The file location changed since the original issue was for cassandra 2.0.10,
but the bug still persisted.
> 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
> Priority: Minor
> Attachments: 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)