]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/ConfigMonitor: make 'config reset' idempotent 27155/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 25 Mar 2019 11:53:44 +0000 (19:53 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 25 Mar 2019 12:35:42 +0000 (20:35 +0800)
commit794e3dfc808479bcdd8ed5db191166361a22ee14
tree4c2d649cbb3658360284e150da0b9e1323e9468d
parentbf1fa247d225805c0f9ded5048ca756aa8013f72
mon/ConfigMonitor: make 'config reset' idempotent

This partially revert 1bc9c86d08cfb408768c080ed5ea1ea82325ed57.
It's generally not a good idea if a command is not idempotent.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
qa/workunits/mon/config.sh
src/mon/ConfigMonitor.cc
src/mon/MonCommands.h