SimpleStrategy enforces endpoints >= replicas when reading with
ConsistencyLevel.ONE
------------------------------------------------------------------------------------
Key: CASSANDRA-2790
URL: https://issues.apache.org/jira/browse/CASSANDRA-2790
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 0.7.6
Environment: Linux 2.6.32-31-generic #61-Ubuntu SMP / Java HotSpot(TM)
64-Bit Server VM (build 14.2-b01, mixed mode)
Reporter: Ivan Gorgiev
We use replication factor of 3 across our system, but in a one case on the
application bootstrap we read a stored value with a local (in-process) call to
StorageProxy.read(commands, ConsistencyLevel.ONE). This results in the
following exception from SimpleStrategy: "replication factor 3 exceeds number
of endpoints 1".
Shouldn't such a read operation always succeed as there is a guaranteed single
Cassandra endpoint - the one processing the request?
This code used to work with Cassandra 0.6.1 before we upgraded to 0.7.6.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira