[SERVER-35065] Race condition causing Fatal Assertion 16506 Created: 18/May/18  Updated: 25/Jun/18  Resolved: 25/Jun/18

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: 3.4.4
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Nuno Costa Assignee: Andrew Morrow (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Operating System: ALL
Participants:
Case:

 Description   

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.


Generated at Thu Feb 08 04:38:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.