[SERVER-26649] retry interrupted calls to close in the shell utils launcher Created: 14/Oct/16  Updated: 28/Nov/16  Resolved: 31/Oct/16

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 3.4.0-rc3

Type: Bug Priority: Major - P3
Reporter: Matt Cotter Assignee: Matt Cotter
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2016-10-31
Participants:
Linked BF Score: 0

 Description   

Right now, an interrupted call to close will result in deadlock: main thread waiting for reader thread to join, reader thread waiting on EOF from the fd.
(before waiting for reader threads to join, we probably were leaking threads)



 Comments   
Comment by Githook User [ 31/Oct/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: SERVER-26649 don't use close to end read
Branch: master
https://github.com/mongodb/mongo/commit/7715c5186e13959ac63fdfd4f9198113287a6985

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