You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2015/06/03 04:02:49 UTC

[jira] [Commented] (CASSANDRA-8735) Batch log replication is not randomized when there are only 2 racks

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

Yuki Morishita commented on CASSANDRA-8735:
-------------------------------------------

So the patch will make {{BatchlogEndpointFilterTest#shouldSelectTwoFirstHostsFromSingleOtherRack}} fail occasionally since the test is expected to be always the first two.
[~mishail] is this intended behavior? I saw the case where the same 2 nodes always getting a lot of batch log traffic.

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