cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Cranford (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8735) Batch log replication is not randomized when there are only 2 racks
Date Fri, 04 Aug 2017 21:24:00 GMT

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

Daniel Cranford commented on CASSANDRA-8735:
--------------------------------------------

Looks like it was reverted/overwritten (seemingly unintentionally) by the fix for CASSANDRA-7237

We've seen this in production with Cassandra 3.9. One or two rack DCs always select the same
two hosts for batch log replication.

> 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.9, 2.2.1, 3.0 alpha 1
>
>         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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message