diff options
-rw-r--r-- | src/mongo/db/index_builds_coordinator.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/index_builds_coordinator.cpp b/src/mongo/db/index_builds_coordinator.cpp index 18ccf79077d..eda59265217 100644 --- a/src/mongo/db/index_builds_coordinator.cpp +++ b/src/mongo/db/index_builds_coordinator.cpp @@ -272,7 +272,10 @@ void forEachIndexBuild( std::string indexNamesStr; str::joinStringDelim(replState->indexNames, &indexNamesStr, ','); log() << logPrefix << replState->buildUUID << ": collection: " << replState->collectionUUID - << "; indexes: " << replState->indexNames.size() << " [" << indexNamesStr << "]"; + << "; indexes: " << replState->indexNames.size() << " [" << indexNamesStr + << "]; method: " + << (IndexBuildProtocol::kTwoPhase == replState->protocol ? "two phase" + : "single phase"); onIndexBuild(replState); } |