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

Serialize concurrent accesses to `Socket` in `TCPResetAfterConnectionIsSilentlySwallowed`

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Service Arch 2021-12-13, Service Arch 2022-1-10, Service Arch 2022-1-24
    • Linked BF Score:
      25
    • Story Points:
      3

      Description

      The test spawns a thread to establish a new connection, and concurrently attempts to close the connection. This causes non-serialized concurrent accesses to the file handle associated with the socket, in particular a read after write data race.

      Serializing accesses to the socket object (defined here) should prevent the data race.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              reo.kimura Reo Kimura
              Reporter:
              amirsaman.memaripour Amirsaman Memaripour
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: