Re: Multi datacenter node loss

2017-07-24 Thread Jeff Jirsa
On 2017-07-20 13:23 (-0700), Roger Warner wrote: > Hi > > I’m a little dim on what multi datacenter implies in the 1 replica case. > I know about replica recovery, how about “node recovery” > > As I understand if there a node failure or disk crash with a

Re: Multi datacenter node loss

2017-07-21 Thread Jon Haddad
SimpleStrategy doesn’t take DC or rack into account at all. It simply places replicas on subsequent tokens. You could end up with 3 copies in 1 DC and zero in another. /** * This class returns the nodes responsible for a given * key but does not respect rack awareness. Basically *

Re: Multi datacenter node loss

2017-07-21 Thread Eric Stevens
> If using the SimpleStrategy replication class, it appears that > replication_factor is the only option, which applies to the entire > cluster, so only one node in both datacenters would have the data. This runs counter to my understanding, or else I'm not reading your statement correctly. When

Re: Multi datacenter node loss

2017-07-20 Thread Michael Shuler
Datacenter replication is defined in the keyspace schema, so I believe that ... WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1': 1, 'DC2': 1} ... you ought to be able to repair DC1 from DC2, once you have the DC1 node healthy again. If using the SimpleStrategy replication

Multi datacenter node loss

2017-07-20 Thread Roger Warner
Hi I’m a little dim on what multi datacenter implies in the 1 replica case. I know about replica recovery, how about “node recovery” As I understand if there a node failure or disk crash with a single node cluster with replication factor 1 I lose data.Easy. nodetool tells me each node