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] [Commented] (CASSANDRA-8735) Batch log replication is not randomized when there are only 2 racks
Date Wed, 03 Jun 2015 02:02:49 GMT

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

Mime
View raw message