incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Black...@b3k.us>
Subject Re: Is ReplicationFactor values number of replicas or number of copies of data?
Date Mon, 07 Jun 2010 16:05:11 GMT
There is no 'master' so all copies are replicas.  RF=1 means 1 node
has the data, RF=2 means 2 do, etc.

On Mon, Jun 7, 2010 at 4:16 AM, Per Olesen <pol@trifork.com> wrote:
> Hi,
>
> I am unclear about what the ReplicationFactor value means.
>
> Does RF=1 mean that there is only one single node that has the data in the cluster (actually
no replication), or, does it mean, that there are two copies of the data - one "actual" and
one "replica" (as in "replicated one time")?
>
> I noticed, that I CAN start a node with RF=0, but I get UnavailableException when trying
to insert, so I assume RF=0 is wrong then?
>
> Put another way: If I want my data to always live on exactly 2 nodes in the cluster,
do I set RF=2 or RF=1? :-)
>
> /Per

Mime
View raw message