summaryrefslogtreecommitdiff
path: root/src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2023-05-16 22:56:39 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-17 01:53:41 +0000
commit068c90d91fd45305bd6ee3b6f9172700516aaa85 (patch)
treed52005120ed2da87e7c65d5feee6d95980599773 /src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h
parent17ecec00ebe6f1bbb5f78bb94021292789dd5a35 (diff)
downloadmongo-068c90d91fd45305bd6ee3b6f9172700516aaa85.tar.gz
SERVER-76918 Change bucket_catalog::clear to take in DatabaseName object instead of StringData object
Diffstat (limited to 'src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h')
-rw-r--r--src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h b/src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h
index 1f14f683b7d..c1b95897ca0 100644
--- a/src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h
+++ b/src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h
@@ -268,7 +268,7 @@ void clear(BucketCatalog& catalog, const NamespaceString& ns);
* Clears the buckets for the given database by removing the bucket from the catalog asynchronously
* through the BucketStateRegistry.
*/
-void clear(BucketCatalog& catalog, StringData dbName);
+void clear(BucketCatalog& catalog, const DatabaseName& dbName);
/**
* Appends the execution stats for the given namespace to the builder.