]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: make 'osd pool mksnap ...' not expose uncommitted state
authorSage Weil <sage@inktank.com>
Sat, 17 Aug 2013 16:05:32 +0000 (09:05 -0700)
committerSage Weil <sage@inktank.com>
Sat, 17 Aug 2013 16:05:32 +0000 (09:05 -0700)
commit64bef4ae4bab28b0b82a1481381b0c68a22fe1a4
tree3dd02a724a90e4134fc72ded4d1d0755f48b0bc7
parent411871f6bcc9a4b81140c2e98d13dc123860f6f7
mon/OSDMonitor: make 'osd pool mksnap ...' not expose uncommitted state

[This is a backport of d1501938f5d07c067d908501fc5cfe3c857d7281]

We were returning success without waiting if the pending pool state had
the snap.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/mon/OSDMonitor.cc