Github user ifesdjeen commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/275#discussion_r220659112
--- Diff: src/java/org/apache/cassandra/locator/ReplicaPlans.java ---
@@ -265,17 +268,23 @@ E select(Keyspace keyspace, ConsistencyLevel consistencyLevel, L
liveAndDown, L
if (!any(liveAndDown.all(), Replica::isTransient))
return liveAndDown.all();
- assert consistencyLevel != EACH_QUORUM;
--- End diff --
After this change `consistencyLevel` is unused in both cases.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
|