Various errors seen when one node dies in a shard.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.8.0
    • Component/s: Sharding
    • None
    • Environment:
      Linux x86_64
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Repro:

      1. Set up two shards, each with one primary, one secondary, and one arbiter.
      2. Enable sharding on a database.
      3. Shard a collection in the database.
      4. Insert enough documents to distribute them between the shards.
      5. Run a test that constantly runs various queries against the collection.
      6. While running the test kill a random mongod then restart it.

      After killing the mongod you may or may not see errors like this:

      database error: DBClientBase::findOne: transport error: ...
      database error: socket exception
      database error: dbclient error communicating with server: ...

      These errors are passed back to the client application by mongos. Is this the expected behavior?

      This was found while trying to reproduce PYTHON-212.

            Assignee:
            Unassigned
            Reporter:
            Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: