You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joel Knighton (JIRA)" <ji...@apache.org> on 2015/11/02 22:02:27 UTC

[jira] [Created] (CASSANDRA-10634) Materialized Views filter paired endpoints to local DC even when not using DC-aware replication

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)