]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools/rebuild_mondb: return error if ondisk version of pg_info is incompatible
authorxie xingguo <xie.xingguo@zte.com.cn>
Sun, 18 Sep 2016 02:43:10 +0000 (10:43 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 22 Nov 2016 03:47:00 +0000 (11:47 +0800)
commit94390a3296483323d1b2c57856ea2e8ecca99b64
tree462d3c0fe10110cc835973c6bf651237a71dde70
parenteaeb52057509b1fa45592ecc147ad694f57d33f3
tools/rebuild_mondb: return error if ondisk version of pg_info is incompatible

In this case "r" will be >= 0 and caller will be able to catch
this kind of error.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit ac7c1dca0a4f6e92e50d362784122e2d3200e6b5)
src/tools/rebuild_mondb.cc