]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
keyvaluestore: name to keyvaluetore-dev for now
authorSage Weil <sage@inktank.com>
Wed, 29 Jan 2014 14:40:29 +0000 (06:40 -0800)
committerSage Weil <sage@inktank.com>
Wed, 29 Jan 2014 14:40:29 +0000 (06:40 -0800)
This helps warn the user that the ondisk format may be subject to change.

Signed-off-by: Sage Weil <sage@inktank.com>
src/os/KeyValueStore.h
src/os/ObjectStore.cc
src/test/filestore/store_test.cc

index 23d9159a6400e9ea590e44d8ef0da3870b603c0d..6d08a13fef18ee572f9dbba621ee9cc7d3659503 100644 (file)
@@ -355,7 +355,7 @@ class KeyValueStore : public ObjectStore,
  public:
 
   KeyValueStore(const std::string &base,
-                const char *internal_name = "keyvaluestore",
+                const char *internal_name = "keyvaluestore-dev",
                 bool update_to=false);
   ~KeyValueStore();
 
index 701dc31039ff63abbaef80b1214720c18c613f3c..7496c45841857f6fc8c6861edd0592d0fe6de415 100644 (file)
@@ -32,7 +32,7 @@ ObjectStore *ObjectStore::create(CephContext *cct,
   if (type == "memstore") {
     return new MemStore(cct, data);
   }
-  if (type == "keyvaluestore") {
+  if (type == "keyvaluestore-dev") {
     return new KeyValueStore(data);
   }
   return NULL;
index 7feb13fd59ee1e34fa991337ac78093ef18d1f72..8e88ab325e12609efb00ea14861b313949c1b021 100644 (file)
@@ -972,7 +972,7 @@ TEST_P(StoreTest, MoveRename) {
 INSTANTIATE_TEST_CASE_P(
   ObjectStore,
   StoreTest,
-  ::testing::Values("filestore", "keyvaluestore"));
+  ::testing::Values("filestore", "keyvaluestore-dev"));
 
 #else