]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "ceph-objectstore-tool: require hammer upgrade"
authorSage Weil <sage@redhat.com>
Wed, 14 Oct 2015 13:43:44 +0000 (09:43 -0400)
committerSage Weil <sage@redhat.com>
Fri, 16 Oct 2015 18:08:42 +0000 (14:08 -0400)
This reverts commit b474991df74ab4d31b011bb6c5973fcd3c2e0179.

src/tools/ceph_objectstore_tool.cc

index e833bf9c7d9bdcccf8ba8033ada841a3ac784b91..b978a6cee67610159c2d64ce542c6b598c90bb1e 100644 (file)
@@ -2240,12 +2240,6 @@ int main(int argc, char **argv)
     ret = -EINVAL;
     goto out;
   }
-  if (!superblock.compat_features.incompat.contains(CEPH_OSD_FEATURE_INCOMPAT_PGMETA)) {
-    derr << "OSD store does not have PGMETA feature." << dendl;
-    derr << "You must first upgrade to hammer, or use an older ceph-objectstore-tool." << dendl;
-    ret = -EINVAL;
-    goto out;
-  }
 
   if (op != "list" && vm.count("object")) {
     // Special case: Create pgmeta_oid if empty string specified