]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: make error handling for "osd lost" command more fine-grained
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 11 May 2016 08:13:47 +0000 (16:13 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 28 Jul 2016 08:02:07 +0000 (16:02 +0800)
commit3f36408010f81e1468b5fee7c9ded46d04ef8746
tree0a8907dd636b55b3c382bfcac1074f0e086eace8
parent98602ae6c67637dbadddd549bd9a0035e5a2717c
mon/OSDMonitor: make error handling for "osd lost" command more fine-grained

If the specified osd is not down or doesn't exist, we shall
return error instead of success. So caller can abort(if does not exist)
or mark osd as down and retry(if not down).

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/OSDMonitor.cc