diff options
-rw-r--r-- | src/mongo/db/commands/create_indexes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/create_indexes.cpp b/src/mongo/db/commands/create_indexes.cpp index 250b2899206..c1689cc2124 100644 --- a/src/mongo/db/commands/create_indexes.cpp +++ b/src/mongo/db/commands/create_indexes.cpp @@ -287,7 +287,7 @@ boost::optional<CommitQuorumOptions> parseAndGetCommitQuorum(OperationContext* o replCoord->isReplEnabled()); uassert(ErrorCodes::BadValue, str::stream() << "commitQuorum is supported only for two phase index builds with " - "majority commit quorum support enabled ", + "commit quorum support enabled, and requires FCV 4.4", (IndexBuildProtocol::kTwoPhase == protocol && commitQuorumEnabled)); CommitQuorumOptions commitQuorum; uassertStatusOK(commitQuorum.parse(cmdObj.getField(kCommitQuorumFieldName))); |