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?
↧