cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Knighton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10634) Materialized Views filter paired endpoints to local DC even when not using DC-aware replication
Date Mon, 02 Nov 2015 21:02:27 GMT
Joel Knighton created CASSANDRA-10634:
-----------------------------------------

             Summary: 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
            Priority: Critical


In {[getViewNaturalEndpoint}}, when calculating paired view replicas, 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)

Mime
View raw message