diff options
author | Spencer T Brody <spencer@mongodb.com> | 2016-08-24 15:56:55 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2016-08-26 16:55:38 -0400 |
commit | 6bf9fd2e5a5f043b950cb77361be3c1ed7a7d0af (patch) | |
tree | dd6d2cdcf3d3ef2eee3d156b3417b116d2f5ef3b /src/mongo/s/config_server_test_fixture.h | |
parent | a4a9a9ad29415239091db171e01f45677464f668 (diff) | |
download | mongo-6bf9fd2e5a5f043b950cb77361be3c1ed7a7d0af.tar.gz |
SERVER-25677 Clear cached clusterId if config.version document is rolled back.
Diffstat (limited to 'src/mongo/s/config_server_test_fixture.h')
-rw-r--r-- | src/mongo/s/config_server_test_fixture.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/s/config_server_test_fixture.h b/src/mongo/s/config_server_test_fixture.h index fc929ca5a43..943b6d122b6 100644 --- a/src/mongo/s/config_server_test_fixture.h +++ b/src/mongo/s/config_server_test_fixture.h @@ -63,6 +63,10 @@ class NetworkInterfaceMock; class TaskExecutor; } // namespace executor +namespace repl { +class ReplicationCoordinatorMock; +} + /** * Sets up the mocked out objects for testing the catalog manager and catalog client with the * remote interface backed by the NetworkTestEnv and config server as the local storage engine. @@ -109,6 +113,8 @@ public: OperationContext* operationContext() const; + repl::ReplicationCoordinatorMock* getReplicationCoordinator() const; + /** * Insert a document to this config server to the specified namespace. */ @@ -191,6 +197,7 @@ private: ReplSetDistLockManager* _distLockManager = nullptr; ShardingCatalogClientImpl* _catalogClient = nullptr; ShardingCatalogManagerImpl* _catalogManager = nullptr; + repl::ReplicationCoordinatorMock* _replCoord = nullptr; }; } // namespace mongo |