Hi @Aasawari, thank you very much for response. ![]()
-
Unfortunately I can’t see any pattern. What would you recommend looking at besides the logs?
-
Yes
-
Yes, ~ 1,2 sec
14:24:47.543 INFO org.mongodb.driver.cluster : Exception in monitor thread while connecting to server
14:26:00.244 INFO org.mongodb.driver.cluster : Monitor thread successfully connected to server
-
It can be hard for unsuccessful. Usually I’m finding errors in logs and not while they occurs. I’ll add output for successful
rs.status() -
Thanks! It definitely helps with electing new primary (and faster connection recovery). Unfortunately don’t solve problem with losing connections.
Since MongoDB version 4.2.6 is an old version, please upgrade to the latest in 4.2 series which is currently 4.2.23 to ensure you’re not seeing a fixed issue
Thanks, will do ![]()