]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: sanity check osd number before applying pg-temp
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 10 Jul 2017 03:41:51 +0000 (11:41 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 10 Jul 2017 18:14:06 +0000 (02:14 +0800)
commit5f9de0e61190a817833f89ecdb90cea7ff3232d5
tree13347184b343e146036b29d3164730c2404eba8c
parent6223dc9185a8baff70f7797b25eed832357e9450
mon/OSDMonitor: sanity check osd number before applying pg-temp

In case user did something stupid and causing weird results.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
qa/workunits/cephtool/test.sh
src/mon/OSDMonitor.cc