Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
2.4.1
-
None
-
None
Description
I have a program that has been running perfectly for over 8 months using both mongodb 2.2 series and lately v2.4.1. I have 3 mongodb servers configured in a replicaset with authentication enabled and replication working. Life was good!
Until today.
All of a sudden BOTH the SECONDARY servers in the replicaset crash with segmentation faults at the same time!
After restarting the servers and relaunching my app, I noticed a very strange behaviour that I have no idea of how to fix:
The app can connect to the replicaset, and authenticate.
The app can query data using find().
The app can NOT succesfully run a findAndModify() command any more. It always returns nothing/null/zip/nada...
I have not done any changes to the code since it was working and I have ran the query I use for "findAndModify()" in the shell (using findOne()) and it returns the expected document.
The logs looks perfectly normal, except for the following entry that seems to coincide with when my application tries to do a findAndModify():
command denied:
{ replSetGetStatus: 1 }Any ideas what is wrong and/or how to troubleshoot it?