summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builds_coordinator_mongod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index_builds_coordinator_mongod.cpp')
-rw-r--r--src/mongo/db/index_builds_coordinator_mongod.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mongo/db/index_builds_coordinator_mongod.cpp b/src/mongo/db/index_builds_coordinator_mongod.cpp
index 3e5a8e9937c..c3299d97463 100644
--- a/src/mongo/db/index_builds_coordinator_mongod.cpp
+++ b/src/mongo/db/index_builds_coordinator_mongod.cpp
@@ -237,8 +237,7 @@ Status IndexBuildsCoordinatorMongod::setCommitQuorum(OperationContext* opCtx,
return Status(ErrorCodes::IndexNotFound,
str::stream()
<< "Cannot set a new commit quorum on an index build in collection '"
- << nss
- << "' without providing any indexes.");
+ << nss << "' without providing any indexes.");
}
AutoGetCollectionForRead autoColl(opCtx, nss);
@@ -272,10 +271,9 @@ Status IndexBuildsCoordinatorMongod::setCommitQuorum(OperationContext* opCtx,
buildState->indexNames.begin(), buildState->indexNames.end(), indexNames.begin());
if (buildState->indexNames.size() != indexNames.size() || !equal) {
return Status(ErrorCodes::IndexNotFound,
- str::stream() << "Provided indexes are not all being "
- << "built by the same index builder in collection '"
- << nss
- << "'.");
+ str::stream()
+ << "Provided indexes are not all being "
+ << "built by the same index builder in collection '" << nss << "'.");
}
// See if the new commit quorum is satisfiable.