]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_objectstore_tool: Add feature called set-allow-sharded-objects
authorDavid Zafman <dzafman@redhat.com>
Tue, 18 Nov 2014 21:00:15 +0000 (13:00 -0800)
committerDavid Zafman <dzafman@redhat.com>
Tue, 3 Mar 2015 19:20:44 +0000 (11:20 -0800)
commit5bbe41cb1e7faf40a9c53a9bdc01db8c35670a36
tree661f1a93b959936d3fa313ae1c10027c15c69810
parent4e30d8c53c0a4952f81cc3b5680c7e92fffb1355
ceph_objectstore_tool: Add feature called set-allow-sharded-objects

Uses --op set-allow-sharded-objects option
This operation will be rejected if on the target OSD's osdmap there is
    at least one OSD which does not support ERASURE CODES.
Prompt the user that they could import if sharded state allowed
Prompt the user to use new feature if sharded state found inconsistent

Fixes: #10077
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit f3dab446fc8e58b3b3d9334b8c38722e73881b9e)

Conflicts:
src/tools/ceph_objectstore_tool.cc
src/tools/ceph_objectstore_tool.cc