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

What happens to read/write operations during automatic client failover in MongoDB Replication

$
0
0

We have setup a 3 node replication set configuration for MongoDB. I want to know what happens to read/write operations during primary switchover. To be more explicit, few read/write operations were issued to primary node from clients. Switch over of primary was also initiated. a) What will happen to those read/write operations? b) Does MongoDB ensures that these requests are served before Primary steps down and election process is initiated? c) During election process, what will happen to new read/write requests from the clients? d) Does the native nodejs driver for MongoDB takes care of automatic client failover? And, also how does it handles the new read/write requests during switchover process?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



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