var keyspace = new CassandraKeyspace(new CassandraKeyspaceSchema
Name = KeyspaceName,
Strategy = CassandraKeyspaceSchema.ReplicaPlacementStrategySimple,
ReplicationFactor = 1
Throw and error:
FluentCassandra.Operations.CassandraOperationException: SimpleStrategy requires a replication_factor strategy option. ---> Apache.Cassandra.InvalidRequestException: Exception of type 'Apache.Cassandra.InvalidRequestException' was thrown.
I'm using the 1.1.0 release of Cassandra - presumably something changed and it's not happy with the replication factor value there?
I found the issue, there is a bug in Cassandra 1.1.0 where it ignores the replication_factor property on the KsDef object. It needs to be set through the StrategyOptions.
moved from the obsolete property replication_factor on the KsDef obje…
…ct to the StrategyOptions to fix issue #32, as of right now this is a step backwords for the intended easy setup