We are getting continous timeout and duplicate index key error: After checking to the replica set status [rs.status()] , it was found that secondaries are out of sync and stale. And one of the replica set has no Primary Check if secondaries were lagging by rs.printSlaveReplicationInfo() Then we end up with refresh all the secondaries.