Re: replacement for KsDef.replication_factor (deprecated in 0.8 API)

2011-06-27 Thread Jeremy Hanna
The replacement is to use the replication_factor variable in strategy options. If you look in http://svn.apache.org/repos/asf/cassandra/tags/cassandra-0.8.0/conf/schema-sample.txt you can see an example of that. The issue to do that was https://issues.apache.org/jira/browse/CASSANDRA-1263 The

Re: replacement for KsDef.replication_factor (deprecated in 0.8 API)

2011-06-27 Thread Tyler Hobbs
It belongs in strategy_options now. For example, strategy_options={'replication_factor': '1'} in Python. On Mon, Jun 27, 2011 at 9:57 AM, Michal Augustýn wrote: > Hi all, > > I just look into "Cassandra.thrift" file from 0.8 distribution and > replication_factor element of KsDef structure is mar

replacement for KsDef.replication_factor (deprecated in 0.8 API)

2011-06-27 Thread Michal Augustýn
Hi all, I just look into "Cassandra.thrift" file from 0.8 distribution and replication_factor element of KsDef structure is marked as @deprecated. What is the non-deprecated replacement for this (IMHO) core setting? Or is CQL the replacement? Thanks! Augi