[SERVER-72059] _writeTestPipeBsonFileSync() test shell extension for Named PIpes benchmarks Created: 12/Dec/22  Updated: 29/Oct/23  Resolved: 13/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Kevin Cherkauer Assignee: Kevin Cherkauer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Participants:

 Description   

_writeTestPipeBsonFileSync() will be a synchronous version of the existing _writeTestPipeBsonFile() function, which is async, that was delivered by SERVER-71564.

This is needed for PERF-3313 Evergreen benchmarks to allow it to be invoked in a background mongo shell on the mongod machine without that shell exiting until the pipe is consumed, because if the shell exits (as would be the case with the current async version), its detached pipe writer thread also exits, leaving the pipe file system entry in place but no writer thread, so when the reader attaches to the pipe it will wait forever for data or EOF, neither of which will ever arrive.

FYI yoonsoo.kim@mongodb.com arun.banala@mongodb.com 



 Comments   
Comment by Githook User [ 13/Dec/22 ]

Author:

{'name': 'Kevin Cherkauer', 'email': 'kevin.cherkauer@mongodb.com', 'username': 'kevin-cherkauer'}

Message: SERVER-72059 Named Pipes _writeTestPipeBsonFileSync() test shell func
Branch: master
https://github.com/mongodb/mongo/commit/dd42ea7c86b637f683b058bdd4d52e17904a3502

Generated at Thu Feb 08 06:20:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.