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

race between setting socket non_blocking and remote host closing connection can cause invariant failure

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc4
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • ALL
    • Platform D (12/11/15)

      Discovered by spencer.jackson in a patch build. Currently we assume that setting the socket non_blocking always succeeds, when it can in fact fail in the aforementioned scenario.

      See failure in tags.js

      https://evergreen.mongodb.com/task/mongodb_mongo_master_solaris_64_bit_replicasets_WT_9f055d483c3238a785c0f508f4011dc49a770504_15_11_18_14_17_08

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: