Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Rethinkdb replication and data consistency

$
0
0

What happens when one of the replicas dies temporary/permanently and how does it relate with data consistency?

For example let's consider this situation: I made an update of a document inside fruits table, rethinkdb answered me with ok and then immediately meteor hits this database

But luckily I had a cluster configured with the following requirements met: http://www.rethinkdb.com/docs/failover/

But it looks like in this scenario I lose this one particular update and probably something else that has not been replicated yet, while application still thinks the data is reliably saved...

I'm not quite understand how I should design my application in order to make it tolerant to such behavior, it seems to be incredible complex

What is a common practice? Any advice?

Thanks


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>