]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-objectstore-tool: add mark-complete operation 5031/head
authorMykola Golub <mgolub@mirantis.com>
Tue, 16 Jun 2015 08:57:08 +0000 (11:57 +0300)
committerMykola Golub <mgolub@mirantis.com>
Thu, 10 Sep 2015 06:01:30 +0000 (09:01 +0300)
commit6907778d767ba08bb80c495785056ed122b023fe
tree087bcf5d76671990045286f6c0ca4e6da1db2885
parentdbf8f67e6913bd9f428f29440949a49a663022e4
ceph-objectstore-tool: add mark-complete operation

It is supposed to be used as a last resort to fix a cluster that has
PGs in 'incomplete' state, using the following procedure:

1) stop the osd that is primary for the incomplete PG;
2) run:
  ceph-objectstore-tool --data-path ... --journal-path ... --pgid $PGID --op mark-complete
3) start the osd.

Fixes: #10098
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/test/ceph_objectstore_tool.py
src/tools/ceph_objectstore_tool.cc