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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc4
    • Component/s: Networking
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Epic Link:
    • Sprint:
      Platform D (12/11/15)

      Description

      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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: