summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_applier.cpp
diff options
context:
space:
mode:
authorJonathan Ma <jonathan.ma@mongodb.com>2019-01-03 11:25:56 -0500
committerJonathan Ma <jonathan.ma@mongodb.com>2019-01-08 10:06:39 -0500
commita43fb64a1c640378c54d1e61869d607f70154f91 (patch)
tree8c919b3b2531c514188245897b50e34f08c0af41 /src/mongo/db/repl/oplog_applier.cpp
parentdd9be1adf2425c7ddd746ff6da75d564474ebed3 (diff)
downloadmongo-a43fb64a1c640378c54d1e61869d607f70154f91.tar.gz
SERVER-37700 Remove thread names that include whitespaces
Diffstat (limited to 'src/mongo/db/repl/oplog_applier.cpp')
-rw-r--r--src/mongo/db/repl/oplog_applier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog_applier.cpp b/src/mongo/db/repl/oplog_applier.cpp
index 9d25e212065..403cf0d4364 100644
--- a/src/mongo/db/repl/oplog_applier.cpp
+++ b/src/mongo/db/repl/oplog_applier.cpp
@@ -79,7 +79,7 @@ std::unique_ptr<ThreadPool> OplogApplier::makeWriterPool() {
// static
std::unique_ptr<ThreadPool> OplogApplier::makeWriterPool(int threadCount) {
ThreadPool::Options options;
- options.threadNamePrefix = "repl writer worker ";
+ options.threadNamePrefix = "repl-writer-worker-";
options.poolName = "repl writer worker Pool";
options.maxThreads = options.minThreads = static_cast<size_t>(threadCount);
options.onCreateThread = [](const std::string&) {