Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2471

Issue with slaveok failover for mongos

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication, Sharding, Stability
    • 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.

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: