Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Linux 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
-
ALL
Description
Despite being set as slaveok, mongos seems unable to use slaves for queries once primary in replica set goes down. Test which reproduces the issue attached, if test fails an error is thrown from the final two lines ( coll.findOne() ). Further calls to coll.findOne() when test is run with load('shard_shutdown.js') and shell still open causes different connection timeout errors, assuming related.
Duplicated on multiple systems (ubuntu linux) but not reproducible everywhere, seems to be system-dependent.