]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os: rename keyvaluestore-dev -> keyvaluestore; mark experimental
authorSage Weil <sage@redhat.com>
Mon, 29 Dec 2014 19:36:36 +0000 (11:36 -0800)
committerSage Weil <sage@redhat.com>
Mon, 29 Dec 2014 22:19:14 +0000 (14:19 -0800)
Use a clean name for keyvaluestore (no -dev suffix), but mark as
experimental to ensure users know what they are signing up for.

Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes
src/os/ObjectStore.cc

index ae3b5b184ba47471eb96762dd80042097f69ae1d..727c584f00fedd1ec52859ce6ac490e7f79503ef 100644 (file)
@@ -37,3 +37,11 @@ v0.91
 
 v0.92
 -----
+
+* The experiemental 'keyvaluestore-dev' OSD backend has been renamed
+  'keyvaluestore' (for simplicity) and marked as experimental.  To
+  enable this untested feature and acknowledge that you understand
+  that it is untested and may destroy data, you need to add the
+  following to your ceph.conf::
+
+    enable experimental unrecoverable data corrupting featuers = keyvaluestore
index 2e26e39efd3096730d82468c8c123d440d35c8f8..5869be535c02409e89df7e70d036a3d62b3766cc 100644 (file)
@@ -33,7 +33,8 @@ ObjectStore *ObjectStore::create(CephContext *cct,
   if (type == "memstore") {
     return new MemStore(cct, data);
   }
-  if (type == "keyvaluestore-dev") {
+  if (type == "keyvaluestore" &&
+      cct->check_experimental_feature_enabled("keyvaluestore")) {
     return new KeyValueStore(data);
   }
   return NULL;