Race condition causing Fatal Assertion 16506

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.4.4
    • Component/s: Networking
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following assertion:

      Fatal Assertion 16506 at src/mongo/util/net/sock.cpp 348

      ***aborting after fassert() failure

      Got signal: 6 (Aborted).

      Occurred while the TLS negotiation started and performed a check in the file descriptor to ensure the socket is not invalid (INVALID_SOCKET).

      This seems to be caused by a race condition in the way the socket is closed. This race condition marks the socket as invalid after the Socket::close() method is called. This race condition seems to be very narrow and in very unusual conditions.

      The cluster did fail over correctly electing a primary from a 3-member replicaset.

      Applications also did heal transparently redirecting connections to the new primary.

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Nuno Costa
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: