diff options
author | Louis Williams <louis.williams@mongodb.com> | 2021-03-29 11:40:34 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-31 21:44:49 +0000 |
commit | bed9b4820e4421d63ff5457cd854671cf51bf4f6 (patch) | |
tree | d2599cab58b0c24e53cbcfd26246ef7c9c5e360a /src/mongo/db/namespace_string.cpp | |
parent | 7cfcec38fd4f6549a12907f8c32f86a85e773ff5 (diff) | |
download | mongo-bed9b4820e4421d63ff5457cd854671cf51bf4f6.tar.gz |
SERVER-55591 Store time-series metadata in the durable catalog entry for buckets collections
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
-rw-r--r-- | src/mongo/db/namespace_string.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp index 24a102a98ef..784e2327bed 100644 --- a/src/mongo/db/namespace_string.cpp +++ b/src/mongo/db/namespace_string.cpp @@ -320,11 +320,6 @@ NamespaceString NamespaceString::makeTimeseriesBucketsNamespace() const { return {db(), kTimeseriesBucketsCollectionPrefix.toString() + coll()}; } -NamespaceString NamespaceString::bucketsNamespaceToTimeseries() const { - invariant(isTimeseriesBucketsCollection()); - return {db(), coll().substr(kTimeseriesBucketsCollectionPrefix.size())}; -} - bool NamespaceString::isReplicated() const { if (isLocal()) { return false; |