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 8953B188BE for ; Thu, 5 Nov 2015 20:16:29 +0000 (UTC) Received: (qmail 20568 invoked by uid 500); 5 Nov 2015 20:16:28 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 20270 invoked by uid 500); 5 Nov 2015 20:16:28 -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 19880 invoked by uid 99); 5 Nov 2015 20:16:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 20:16:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DF7062C1F65 for ; Thu, 5 Nov 2015 20:16:27 +0000 (UTC) Date: Thu, 5 Nov 2015 20:16:27 +0000 (UTC) From: "Joel Knighton (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10634) Materialized Views filter paired endpoints to local DC even when not using DC-aware replication 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-10634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992385#comment-14992385 ] Joel Knighton commented on CASSANDRA-10634: ------------------------------------------- I've pushed a version with the requested changes [here|https://github.com/jkni/cassandra/commits/10634]. > Materialized Views filter paired endpoints to local DC even when not using DC-aware replication > ----------------------------------------------------------------------------------------------- > > Key: CASSANDRA-10634 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10634 > Project: Cassandra > Issue Type: Bug > Components: Coordination > Reporter: Joel Knighton > Assignee: Joel Knighton > Fix For: 3.0.0 > > > When calculating paired view replicas on MV writes, we filter out base and view replicas that aren't in the local datacenter. > If we are using SimpleStrategy, this filtering is incorrect, since our replica placement is not datacenter aware. > We should behave the same as DC-aware consistency levels and only perform this datacenter-aware filtering if the replication strategy is an instance of NetworkTopologyStrategy. -- This message was sent by Atlassian JIRA (v6.3.4#6332)