summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArun Banala <arun.banala@mongodb.com>2021-10-20 11:55:19 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-17 10:45:04 +0000
commiteb30abacf9a89a141feb07971777fec892265f41 (patch)
treeb5dfafdc0bbee0160c8e49c7b08a35ae493ef022 /src
parenta96a30f357990094f7e7b464cc143cab05716238 (diff)
downloadmongo-eb30abacf9a89a141feb07971777fec892265f41.tar.gz
SERVER-61039 Make sharded time-series listIndexes report the view's namespace
(cherry picked from commit e2089fc73a76db6bcf2ca2729e7e886258d3ad2f)
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/commands/list_indexes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/list_indexes.cpp b/src/mongo/db/commands/list_indexes.cpp
index c9a42882944..79c36af16ab 100644
--- a/src/mongo/db/commands/list_indexes.cpp
+++ b/src/mongo/db/commands/list_indexes.cpp
@@ -92,7 +92,7 @@ IndexSpecsWithNamespaceString getIndexSpecsWithNamespaceString(OperationContext*
timeseries::createTimeseriesIndexesFromBucketsIndexes(
*timeseriesOptions,
listIndexesInLock(opCtx, coll, bucketsNss, cmd.getIncludeBuildUUIDs())),
- *origNss);
+ bucketsNss.getTimeseriesViewNamespace());
}
}