[SERVER-51348] makeReplWriterPool ignores threadCount argument Created: 05/Oct/20  Updated: 29/Oct/23  Resolved: 12/Oct/20

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

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2020-10-19
Participants:

 Description   

One of the makeReplWriterPool functions accepts a threadCount but then ignores it and passes the default value replWriterThreadCount instead.

std::unique_ptr<ThreadPool> makeReplWriterPool(int threadCount) {
    return makeReplWriterPool(replWriterThreadCount, "ReplWriterWorker"_sd);
}



 Comments   
Comment by Githook User [ 12/Oct/20 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-51348 makeReplWriterPool should respect threadCount argument
Branch: master
https://github.com/mongodb/mongo/commit/ffcd2895d7c0a810c4705b41305d185ea8cfd7c9

Generated at Thu Feb 08 05:25:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.