diff --git a/fdbcli/fdbcli.actor.cpp b/fdbcli/fdbcli.actor.cpp index 0eb432c50b..9282ea4c15 100644 --- a/fdbcli/fdbcli.actor.cpp +++ b/fdbcli/fdbcli.actor.cpp @@ -460,7 +460,7 @@ void initHelp() { "clear a range of keys from the database", "All keys between BEGINKEY (inclusive) and ENDKEY (exclusive) are cleared from the database. This command will succeed even if the specified range is empty, but may fail because of conflicts." ESCAPINGK); helpMap["configure"] = CommandHelp( - "configure [new] <single|double|triple|three_data_hall|three_datacenter|ssd|memory|memory-radixtree|proxies=<PROXIES>|logs=<LOGS>|resolvers=<RESOLVERS>>*", + "configure [new] <single|double|triple|three_data_hall|three_datacenter|ssd|memory|memory-radixtree-beta|proxies=<PROXIES>|logs=<LOGS>|resolvers=<RESOLVERS>>*", "change the database configuration", "The `new' option, if present, initializes a new database with the given configuration rather than changing the configuration of an existing one. When used, both a redundancy mode and a storage engine must be specified.\n\nRedundancy mode:\n single - one copy of the data. Not fault tolerant.\n double - two copies of data (survive one failure).\n triple - three copies of data (survive two failures).\n three_data_hall - See the Admin Guide.\n three_datacenter - See the Admin Guide.\n\nStorage engine:\n ssd - B-Tree storage engine optimized for solid state disks.\n memory - Durable in-memory storage engine for small datasets.\n\nproxies=<PROXIES>: Sets the desired number of proxies in the cluster. Must be at least 1, or set to -1 which restores the number of proxies to the default value.\n\nlogs=<LOGS>: Sets the desired number of log servers in the cluster. Must be at least 1, or set to -1 which restores the number of logs to the default value.\n\nresolvers=<RESOLVERS>: Sets the desired number of resolvers in the cluster. Must be at least 1, or set to -1 which restores the number of resolvers to the default value.\n\nSee the FoundationDB Administration Guide for more information."); helpMap["fileconfigure"] = CommandHelp( @@ -2377,7 +2377,7 @@ void onoff_generator(const char* text, const char *line, std::vector<std::string } void configure_generator(const char* text, const char *line, std::vector<std::string>& lc) { - const char* opts[] = {"new", "single", "double", "triple", "three_data_hall", "three_datacenter", "ssd", "ssd-1", "ssd-2", "memory", "memory-1", "memory-2", "memory-radixtree", "proxies=", "logs=", "resolvers=", NULL}; + const char* opts[] = {"new", "single", "double", "triple", "three_data_hall", "three_datacenter", "ssd", "ssd-1", "ssd-2", "memory", "memory-1", "memory-2", "memory-radixtree-beta", "proxies=", "logs=", "resolvers=", NULL}; array_generator(text, line, opts, lc); } diff --git a/fdbclient/DatabaseConfiguration.cpp b/fdbclient/DatabaseConfiguration.cpp index 05ae2edd26..425fd0b051 100644 --- a/fdbclient/DatabaseConfiguration.cpp +++ b/fdbclient/DatabaseConfiguration.cpp @@ -270,7 +270,7 @@ StatusObject DatabaseConfiguration::toJSON(bool noPolicies) const { } else if( tLogDataStoreType == KeyValueStoreType::MEMORY && storageServerStoreType == KeyValueStoreType::MEMORY ) { result["storage_engine"] = "memory-1"; } else if( tLogDataStoreType == KeyValueStoreType::SSD_BTREE_V2 && storageServerStoreType == KeyValueStoreType::MEMORY_RADIXTREE ) { - result["storage_engine"] = "memory-radixtree"; + result["storage_engine"] = "memory-radixtree-beta"; } else if( tLogDataStoreType == KeyValueStoreType::SSD_BTREE_V2 && storageServerStoreType == KeyValueStoreType::MEMORY ) { result["storage_engine"] = "memory-2"; } else { diff --git a/fdbclient/FDBTypes.h b/fdbclient/FDBTypes.h index 0b8cd6cf3d..d9cbf8c850 100644 --- a/fdbclient/FDBTypes.h +++ b/fdbclient/FDBTypes.h @@ -668,7 +668,7 @@ struct KeyValueStoreType { case SSD_BTREE_V2: return "ssd-2"; case SSD_REDWOOD_V1: return "ssd-redwood-experimental"; case MEMORY: return "memory"; - case MEMORY_RADIXTREE: return "memory-radixtree"; + case MEMORY_RADIXTREE: return "memory-radixtree-beta"; default: return "unknown"; } } diff --git a/fdbclient/ManagementAPI.actor.cpp b/fdbclient/ManagementAPI.actor.cpp index 57c68364e2..a059a5a618 100644 --- a/fdbclient/ManagementAPI.actor.cpp +++ b/fdbclient/ManagementAPI.actor.cpp @@ -100,7 +100,7 @@ std::map<std::string, std::string> configForToken( std::string const& mode ) { } else if (mode == "memory-1") { logType = KeyValueStoreType::MEMORY; storeType= KeyValueStoreType::MEMORY; - } else if (mode == "memory-radixtree") { + } else if (mode == "memory-radixtree-beta") { logType = KeyValueStoreType::SSD_BTREE_V2; storeType= KeyValueStoreType::MEMORY_RADIXTREE; } diff --git a/fdbclient/Schemas.cpp b/fdbclient/Schemas.cpp index 500e313357..e855b07faa 100644 --- a/fdbclient/Schemas.cpp +++ b/fdbclient/Schemas.cpp @@ -579,7 +579,7 @@ const KeyRef JSONSchemas::statusSchema = LiteralStringRef(R"statusSchema( "memory", "memory-1", "memory-2", - "memory-radixtree" + "memory-radixtree-beta" ]}, "coordinators_count":1, "excluded_servers":[ diff --git a/fdbserver/SimulatedCluster.actor.cpp b/fdbserver/SimulatedCluster.actor.cpp index 703b5082ca..c1c3c28024 100644 --- a/fdbserver/SimulatedCluster.actor.cpp +++ b/fdbserver/SimulatedCluster.actor.cpp @@ -810,7 +810,7 @@ void SimulationConfig::generateNormalConfig(int minimumReplication, int minimumR // set_config("memory"); // } // set_config("memory"); - set_config("memory-radixtree"); + set_config("memory-radixtree-beta"); if(simple) { db.desiredTLogCount = 1; db.masterProxyCount = 1; diff --git a/fdbserver/workloads/KVStoreTest.actor.cpp b/fdbserver/workloads/KVStoreTest.actor.cpp index 0c837e8a1f..441e6afcc4 100755 --- a/fdbserver/workloads/KVStoreTest.actor.cpp +++ b/fdbserver/workloads/KVStoreTest.actor.cpp @@ -375,7 +375,7 @@ ACTOR Future<Void> testKVStore(KVStoreTestWorkload* workload) { test.store = keyValueStoreRedwoodV1(fn, id); else if (workload->storeType == "memory") test.store = keyValueStoreMemory(fn, id, 500e6); - else if (workload->storeType == "memory-radixtree") + else if (workload->storeType == "memory-radixtree-beta") test.store = keyValueStoreMemory(fn, id, 500e6, "fdr", KeyValueStoreType::MEMORY_RADIXTREE); else ASSERT(false);