From 0fca2f037dc83c7942179394482e0705f942b044 Mon Sep 17 00:00:00 2001 From: Salvador Girones Date: Thu, 20 Jun 2024 10:13:22 +0200 Subject: [PATCH] rename rockset --- cloud/cloud_file_system_impl.cc | 2 +- cloud/purge.cc | 4 ++-- include/rocksdb/cloud/cloud_file_system_impl.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cloud/cloud_file_system_impl.cc b/cloud/cloud_file_system_impl.cc index 18a80669111..8b641ec2054 100644 --- a/cloud/cloud_file_system_impl.cc +++ b/cloud/cloud_file_system_impl.cc @@ -2053,7 +2053,7 @@ IOStatus CloudFileSystemImpl::RollNewCookie( return IOStatus::OK(); } -// All db in a bucket are stored in path /.rockset/dbid/ +// All db in a bucket are stored in path /.cloud/dbid/ // The value of the object is the pathname where the db resides. IOStatus CloudFileSystemImpl::SaveDbid(const std::string& bucket_name, const std::string& dbid, diff --git a/cloud/purge.cc b/cloud/purge.cc index 0e9e3e2af90..f11e65792e8 100644 --- a/cloud/purge.cc +++ b/cloud/purge.cc @@ -6,11 +6,11 @@ #include #include -#include "rocksdb/cloud/cloud_file_system_impl.h" #include "cloud/db_cloud_impl.h" #include "cloud/filename.h" #include "cloud/manifest_reader.h" #include "file/filename.h" +#include "rocksdb/cloud/cloud_file_system_impl.h" #include "rocksdb/cloud/cloud_storage_provider.h" #include "rocksdb/db.h" #include "rocksdb/options.h" @@ -201,7 +201,7 @@ IOStatus CloudFileSystemImpl::extractParents( for (auto iter = dbid_list.begin(); iter != dbid_list.end(); ++iter) { // download IDENTITY std::string cloudfile = iter->second + "/IDENTITY"; - std::string localfile = scratch + "/.rockset_IDENTITY." + random; + std::string localfile = scratch + "/.cloud_IDENTITY." + random; st = GetStorageProvider()->GetCloudObject(bucket_name_prefix, cloudfile, localfile); if (!st.ok() && !st.IsNotFound()) { diff --git a/include/rocksdb/cloud/cloud_file_system_impl.h b/include/rocksdb/cloud/cloud_file_system_impl.h index cb672b10e8a..eaf60199e32 100644 --- a/include/rocksdb/cloud/cloud_file_system_impl.h +++ b/include/rocksdb/cloud/cloud_file_system_impl.h @@ -293,7 +293,7 @@ class CloudFileSystemImpl : public CloudFileSystem { Status CheckValidity() const; // Status TEST_Initialize(const std::string& name) override; // The pathname that contains a list of all db's inside a bucket. - virtual const char* kDbIdRegistry() const { return "/.rockset/dbid/"; } + virtual const char* kDbIdRegistry() const { return "/.cloud/dbid/"; } std::string GetDbIdKey(const std::string& dbid) { return kDbIdRegistry() + dbid;