Don't allow {LOCAL|EACH}_QUORUM unless strategy is NTS
------------------------------------------------------
Key: CASSANDRA-2627
URL: https://issues.apache.org/jira/browse/CASSANDRA-2627
Project: Cassandra
Issue Type: Bug
Components: API
Affects Versions: 0.7.0
Reporter: Sylvain Lebresne
Assignee: Sylvain Lebresne
Priority: Trivial
There is not check when {LOCAL|EACH}_QUORUM is used than we do use NTS, hence
using such CL with simpleStrategy for instance result in
{noformat}
ERROR [pool-1-thread-1] 2011-05-09 10:44:29,728 Cassandra.java (line 2960)
Internal error processing insert
java.lang.ClassCastException: org.apache.cassandra.locator.SimpleStrategy
cannot be cast to org.apache.cassandra.locator.NetworkTopologyStrategy
...
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira