Re: Understanding replication

2020-09-20 Thread Jai Bheemsen Rao Dhanwada
Thank you Alex and Jeff for your response. On Sunday, September 20, 2020, Jeff Jirsa wrote: > Data is always sent to all replicas but is only guaranteed by consistency > level, and ordering into guaranteed if you’re using appropriate serial > consistency levels > > e.g. if you insert into dc1

Re: Understanding replication

2020-09-20 Thread Jeff Jirsa
Data is always sent to all replicas but is only guaranteed by consistency level, and ordering into guaranteed if you’re using appropriate serial consistency levels e.g. if you insert into dc1 with LOCAL consistency levels and read from dc2, dc2’s state is strictly undefined and there is no

Re: Understanding replication

2020-09-20 Thread Alex Ott
data is always written to all replicas in the cluster. here is good diagram how this happens in the multi-dc cluster: https://docs.datastax.com/en/dse/6.7/dse-arch/datastax_enterprise/dbInternals/dbIntClientRequestsMultiDCWrites.html regarding the second question - theoretically, yes, it's

Understanding replication

2020-09-20 Thread Jai Bheemsen Rao Dhanwada
Hello, I have a question regarding multi Datacenter replication. In a multi datacenter(dc-1, dc-2) if two records are written into dc-1 is there a guarantee that these two records replicate to dc-2 in the same order or is there a possibility that second insert replicate faster than first insert?