Working with mongodb replica set and i have configured everything and it was working fine. I didn't have a arbiter for it. Just a primary and secondary for backup purpose. Somehow secondary went down (I didn't see any specific info on log file about secondary went down). The issue here is primary trying t connect secondary and its failing.. and no write operation happening on primary and app broken. I didn't understand how primary stopped writing because secondary went down.
Any Thoughts?
primary log was showing "can't connect to slave server"