]> git-server-git.apps.pok.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)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sun, 18 Sep 2016 03:42:38 +0000 (11:42 +0800)
commitac7c1dca0a4f6e92e50d362784122e2d3200e6b5
tree0b583dca2841b3cf7d3eee84614fe3434fb74b52
parent6a1c01d334fe65124043aa68a6e0cfaea43836b5
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>
src/tools/rebuild_mondb.cc