summaryrefslogtreecommitdiff
path: root/src/mongo/db/s
diff options
context:
space:
mode:
authorDamian Wasilewicz <damian.wasilewicz@mongodb.com>2022-06-16 21:24:25 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-16 22:40:14 +0000
commitb5917554358bc6abf85fac8fd11ba16dfdf1722a (patch)
tree9ee6373decb37e78712e5054a8a832f57f77e82e /src/mongo/db/s
parent11feb08b20e51a5c2be42132f1f3be64b0298b1e (diff)
downloadmongo-b5917554358bc6abf85fac8fd11ba16dfdf1722a.tar.gz
SERVER-65634 Added "clustered" to field name strings in index descriptor
Diffstat (limited to 'src/mongo/db/s')
-rw-r--r--src/mongo/db/s/migration_destination_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_destination_manager.cpp b/src/mongo/db/s/migration_destination_manager.cpp
index 09a39686779..c532b48ed2a 100644
--- a/src/mongo/db/s/migration_destination_manager.cpp
+++ b/src/mongo/db/s/migration_destination_manager.cpp
@@ -819,7 +819,7 @@ MigrationDestinationManager::IndexesAndIdIndex MigrationDestinationManager::getC
Milliseconds(-1)));
for (auto&& spec : indexes.docs) {
- if (spec["clustered"]) {
+ if (spec[IndexDescriptor::kClusteredFieldName]) {
// The 'clustered' index is implicitly created upon clustered collection creation.
} else {
donorIndexSpecs.push_back(spec);