MongoDB Java Driver Replica Set Failover -


i have monogdb replica set 2 members , arbiter. problem when primary node goes down , mongo selecting new primary have data loss. believe can control on java driver level.please me find right settings don't have data loss when failover occurs

during primary election writes result in exceptions , you'll have retry writes or relay messages user. there no built in logic retries you'll have write own retry handlers.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -