Skip to content

Commit

Permalink
rename rockset
Browse files Browse the repository at this point in the history
  • Loading branch information
sgirones authored and tobiemh committed Nov 20, 2024
1 parent 66f93a8 commit 0fca2f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cloud/cloud_file_system_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2053,7 +2053,7 @@ IOStatus CloudFileSystemImpl::RollNewCookie(
return IOStatus::OK();
}

// All db in a bucket are stored in path /.rockset/dbid/<dbid>
// All db in a bucket are stored in path /.cloud/dbid/<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,
Expand Down
4 changes: 2 additions & 2 deletions cloud/purge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
#include <chrono>
#include <set>

#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"
Expand Down Expand Up @@ -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()) {
Expand Down
2 changes: 1 addition & 1 deletion include/rocksdb/cloud/cloud_file_system_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0fca2f0

Please sign in to comment.