[SERVER-31609] mongod hangs waiting for afterClusterTime Created: 17/Oct/17  Updated: 30/Oct/23  Resolved: 23/Oct/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.0-rc1

Type: Bug Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
causes SERVER-31806 makeNoopWriter crashes when the last ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2017-10-23, Sharding 2017-11-13
Participants:
Linked BF Score: 0

 Description   

mongod can hang if there are two simultaneous requests for afterClusterTime because the thread that waits on the writeConcern can get notified on the previous write and skip writing the requested afterClusterTime



 Comments   
Comment by Githook User [ 23/Oct/17 ]

Author:

{'email': 'misha@mongodb.com', 'name': 'Misha Tyulenev', 'username': 'mikety'}

Message: SERVER-31609 fix request synchronization for makeNoopWriteIfNeeded
Branch: master
https://github.com/mongodb/mongo/commit/bb4381df8195f86da18a9204d14d225e858b5118

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