summaryrefslogtreecommitdiff
path: root/src/mongo/s
diff options
context:
space:
mode:
authorAnton Korshunov <anton.korshunov@mongodb.com>2020-10-29 18:07:06 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-04 16:47:25 +0000
commitb9630a4621e919837749c5010f3c8e3429a944a9 (patch)
treeb9a73bacf2e96c6207caa05204bc01154efa40c1 /src/mongo/s
parent4666dc59f9aa93e4927bf9835b4bd038488d98f9 (diff)
downloadmongo-b9630a4621e919837749c5010f3c8e3429a944a9.tar.gz
SERVER-50728 Use QuerySolution to generate explain output at queryPlanner verbosity in SBE
Diffstat (limited to 'src/mongo/s')
-rw-r--r--src/mongo/s/chunk_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/chunk_manager.cpp b/src/mongo/s/chunk_manager.cpp
index 63921525d8c..96662323fb1 100644
--- a/src/mongo/s/chunk_manager.cpp
+++ b/src/mongo/s/chunk_manager.cpp
@@ -554,6 +554,7 @@ IndexBounds ChunkManager::getIndexBoundsForQuery(const BSONObj& key,
plannerParams.options = QueryPlannerParams::NO_TABLE_SCAN;
IndexEntry indexEntry(key,
indexType,
+ IndexDescriptor::kLatestIndexVersion,
// The shard key index cannot be multikey.
false,
// Empty multikey paths, since the shard key index cannot be multikey.