summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_impl.h
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2016-07-22 12:55:46 -0400
committerScott Hernandez <scotthernandez@gmail.com>2016-07-23 14:01:04 -0400
commit8ab78f2308cd5c26e00a9c7c5051ec58db6d1275 (patch)
tree4d3f10dafff737bcebafe24e13612215e488afba /src/mongo/db/repl/storage_interface_impl.h
parentc584d851c1cce95e81198e73f48234e3199fba5f (diff)
downloadmongo-8ab78f2308cd5c26e00a9c7c5051ec58db6d1275.tar.gz
SERVER-23476: move ownership of TaskRunner out of StorageInterfaceImpl
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl.h')
-rw-r--r--src/mongo/db/repl/storage_interface_impl.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.h b/src/mongo/db/repl/storage_interface_impl.h
index a0c50838448..ff8a59b1ecd 100644
--- a/src/mongo/db/repl/storage_interface_impl.h
+++ b/src/mongo/db/repl/storage_interface_impl.h
@@ -120,13 +120,6 @@ private:
// One thread per collection/TaskRunner
std::unique_ptr<OldThreadPool> _bulkLoaderThreads;
const NamespaceString _minValidNss;
-
- // This mutex protects _runners vector.
- stdx::mutex _runnersMutex;
-
- // Each runner services a single collection and holds on to the OperationContext (and thread)
- // until it is done with the collection (CollectionBulkLoaderImpl::commit/abort is called).
- std::vector<std::pair<const NamespaceString, std::unique_ptr<TaskRunner>>> _runners;
};
} // namespace repl