Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A45510BC3 for ; Thu, 12 Dec 2013 17:52:08 +0000 (UTC) Received: (qmail 63937 invoked by uid 500); 12 Dec 2013 17:52:08 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 63918 invoked by uid 500); 12 Dec 2013 17:52:08 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 63877 invoked by uid 99); 12 Dec 2013 17:52:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 17:52:08 +0000 Date: Thu, 12 Dec 2013 17:52:08 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-6481) Batchlog endpoint candidates should be picked randomly, not sorted by proximity MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-6481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846497#comment-13846497 ] Jonathan Ellis commented on CASSANDRA-6481: ------------------------------------------- If dsnitch actually worked then I think this would be fine, but fixing dsnitch is probably out of scope here so +1 > Batchlog endpoint candidates should be picked randomly, not sorted by proximity > ------------------------------------------------------------------------------- > > Key: CASSANDRA-6481 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6481 > Project: Cassandra > Issue Type: Bug > Reporter: Aleksey Yeschenko > Assignee: Aleksey Yeschenko > Fix For: 1.2.13, 2.0.4 > > Attachments: 6481.txt > > > Batchlog endpoint candidates should be picked randomly, not sorted by proximity. I'll be lazy and just copy-paste some lines from IRC: > [20:23:27] rbranson: is there an issue where batch logs tend to get written to a subset of the nodes? > [20:28:04] rbranson: I mean all the write batches are going thru 10% of the nodes > [20:28:16] rbranson: it means writes won't scale linearly w/the cluster size > Attaching a trivial patch. -- This message was sent by Atlassian JIRA (v6.1.4#6159)