diff options
author | Louis Williams <louis.williams@mongodb.com> | 2021-03-18 10:29:23 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-18 15:30:03 +0000 |
commit | ce5cb5c681dbf954d229367f543c0b89a4cbc6d7 (patch) | |
tree | 78a11245454dc3e20364974c37da425e27a7b60f /src/mongo/db/namespace_string.h | |
parent | 75ed5c985cdd4161c4d2c672037798d9085b303e (diff) | |
download | mongo-ce5cb5c681dbf954d229367f543c0b89a4cbc6d7.tar.gz |
SERVER-55104 Report time-series bucket granularity
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r-- | src/mongo/db/namespace_string.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h index fdcc41739c6..f918180f567 100644 --- a/src/mongo/db/namespace_string.h +++ b/src/mongo/db/namespace_string.h @@ -357,6 +357,11 @@ public: NamespaceString makeTimeseriesBucketsNamespace() const; /** + * Returns the time-series view namespace for this buckets namespace. + */ + NamespaceString bucketsNamespaceToTimeseries() const; + + /** * Returns whether a namespace is replicated, based only on its string value. One notable * omission is that map reduce `tmp.mr` collections may or may not be replicated. Callers must * decide how to handle that case separately. |