(moving to user@) On Mon, Jun 14, 2010 at 10:43 PM, Masood Mortazavi <masoodmortaz...@gmail.com> wrote: > Is the clearer interpretation of this statement (in > conf/datacenters.properties) given anywhere else? > > # The sum of all the datacenter replication factor values should equal > # the replication factor of the keyspace (i.e. sum(dc_rf) = RF) > > # keyspace\:datacenter=replication factor > Keyspace1\:DC1=3 > Keyspace1\:DC2=2 > Keyspace1\:DC3=1 > > Does the above example configuration imply that Keyspace1 has a RF of 6, and > that of these 3 will go to DC1, 2 to DC2 and 1 to DC3?
Yes. > What will happen if datacenters.properties and cassandra-rack.properties are > simply empty? You have an illegal configuration. https://issues.apache.org/jira/browse/CASSANDRA-1191 is open to have Cassandra raise an error under this condition and others. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com