diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2018-12-03 09:07:03 -0500 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2018-12-12 17:50:30 -0500 |
commit | d35671a946a2dd303e5333c3f030b338fa424f49 (patch) | |
tree | cc0e0e4b52976c61d6b6088a0e2ea27a1f7cd6e8 /src/mongo/embedded | |
parent | fb1ed31af90557a01fdabc8e09434dca401f1c02 (diff) | |
download | mongo-d35671a946a2dd303e5333c3f030b338fa424f49.tar.gz |
SERVER-37953 Create command setIndexCommitQuorum to update index build commitQuorum setting
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r-- | src/mongo/embedded/index_builds_coordinator_embedded.cpp | 4 | ||||
-rw-r--r-- | src/mongo/embedded/index_builds_coordinator_embedded.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/embedded/index_builds_coordinator_embedded.cpp b/src/mongo/embedded/index_builds_coordinator_embedded.cpp index d797d8f08d2..56b25453114 100644 --- a/src/mongo/embedded/index_builds_coordinator_embedded.cpp +++ b/src/mongo/embedded/index_builds_coordinator_embedded.cpp @@ -98,8 +98,8 @@ Status IndexBuildsCoordinatorEmbedded::voteCommitIndexBuild(const UUID& buildUUI } Status IndexBuildsCoordinatorEmbedded::setCommitQuorum(const NamespaceString& nss, - const std::vector<std::string>& indexNames, - const BSONObj& newCommitQuorum) { + const std::vector<StringData>& indexNames, + const WriteConcernOptions& newCommitQuorum) { MONGO_UNREACHABLE; } diff --git a/src/mongo/embedded/index_builds_coordinator_embedded.h b/src/mongo/embedded/index_builds_coordinator_embedded.h index 0689bea19d4..2e5e9678dad 100644 --- a/src/mongo/embedded/index_builds_coordinator_embedded.h +++ b/src/mongo/embedded/index_builds_coordinator_embedded.h @@ -69,8 +69,8 @@ public: void signalChangeToInitialSyncMode() override; Status voteCommitIndexBuild(const UUID& buildUUID, const HostAndPort& hostAndPort) override; Status setCommitQuorum(const NamespaceString& nss, - const std::vector<std::string>& indexNames, - const BSONObj& newCommitQuorum) override; + const std::vector<StringData>& indexNames, + const WriteConcernOptions& newCommitQuorum) override; private: void _runIndexBuild(OperationContext* opCtx, const UUID& buildUUID) noexcept override; |