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 Mon, 07 Aug 2017 02:28:03 GMT

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

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

Pinging [~blambov] and [~iamaleksey].
As Daniel pointed above, CASSANDRA-7237 removed randomizing part in 3.0+ (https://github.com/apache/cassandra/commit/762db474273f764b189d3613fce33943cd64701b#diff-642bb5d5ca328b50d59f2a550c94e5edR533).
I cannot tell it was intentional or not, so can you take a look and see if it still need to
be patched by this? Thanks.

> 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