From 068c90d91fd45305bd6ee3b6f9172700516aaa85 Mon Sep 17 00:00:00 2001 From: Sophia Tan Date: Tue, 16 May 2023 22:56:39 +0000 Subject: SERVER-76918 Change bucket_catalog::clear to take in DatabaseName object instead of StringData object --- src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/timeseries/bucket_catalog/bucket_catalog.h') 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. -- cgit v1.2.1