diff options
author | Gregory Noma <gregory.noma@gmail.com> | 2021-04-29 12:41:24 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-29 17:04:20 +0000 |
commit | 9caac5e1856eea2c9152a09f966c80b2a5b1c1c0 (patch) | |
tree | b7a0ea286d36efd7dec7d65fc5cd102bcc3f9462 /src/mongo/db/namespace_string.h | |
parent | bbf49c8019ec253013ad2df96951ab3201872d6a (diff) | |
download | mongo-9caac5e1856eea2c9152a09f966c80b2a5b1c1c0.tar.gz |
SERVER-56292 Ensure time-series collections properly handle stepdown and stepup
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 7b3a78f1120..219bfc1e55b 100644 --- a/src/mongo/db/namespace_string.h +++ b/src/mongo/db/namespace_string.h @@ -364,6 +364,11 @@ public: NamespaceString makeTimeseriesBucketsNamespace() const; /** + * Returns the time-series view namespace for this buckets namespace. + */ + NamespaceString getTimeseriesViewNamespace() 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. |