From bb0315154a30bbfd60ed2859af00c54c74261144 Mon Sep 17 00:00:00 2001 From: Ayelet Shani Date: Mon, 11 Jul 2022 14:27:47 +0300 Subject: [PATCH] hash spd plug naming --- plugin/speedb/memtable/hash_spd_rep.cc | 4 ++-- plugin/speedb/memtable/hash_spd_rep.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/speedb/memtable/hash_spd_rep.cc b/plugin/speedb/memtable/hash_spd_rep.cc index 278b8a94c..f7b1edde8 100644 --- a/plugin/speedb/memtable/hash_spd_rep.cc +++ b/plugin/speedb/memtable/hash_spd_rep.cc @@ -955,7 +955,7 @@ MemTableRep::Iterator* HashLocklessRep::GetIterator(Arena* arena) { } } -static std::unordered_map lockless_factory_info = { +static std::unordered_map hash_spd_factory_info = { #ifndef ROCKSDB_LITE {"bucket_count", {0, OptionType::kSizeT, OptionVerificationType::kNormal, @@ -966,7 +966,7 @@ static std::unordered_map lockless_factory_info = { HashLocklessRepFactory::HashLocklessRepFactory(size_t bucket_count) : bucket_count_(bucket_count) { - RegisterOptions("", &bucket_count_, &lockless_factory_info); + RegisterOptions("", &bucket_count_, &hash_spd_factory_info); } MemTableRep* HashLocklessRepFactory::CreateMemTableRep( diff --git a/plugin/speedb/memtable/hash_spd_rep.h b/plugin/speedb/memtable/hash_spd_rep.h index a60a8170f..1b2e1d886 100644 --- a/plugin/speedb/memtable/hash_spd_rep.h +++ b/plugin/speedb/memtable/hash_spd_rep.h @@ -27,7 +27,7 @@ class HashLocklessRepFactory : public MemTableRepFactory { bool IsInsertConcurrentlySupported() const override { return true; } bool CanHandleDuplicatedKey() const override { return true; } - static const char* kClassName() { return "speedb.HashLocklessRepFactory"; } + static const char* kClassName() { return "speedb.HashSpdRepFactory"; } const char* Name() const override { return kClassName(); } private: