]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: make pool snap creation ops idempotent
authorSage Weil <sage@inktank.com>
Mon, 23 Jul 2012 23:04:00 +0000 (16:04 -0700)
committerSage Weil <sage@inktank.com>
Fri, 27 Jul 2012 17:43:26 +0000 (10:43 -0700)
commit5f3ef77df48cb10540ae606b5761ff38df861720
tree276e62796e045e6bb57f23e770e5b798126dbfa4
parent53aa95930210c9e188561178b6ff26bf8b0f0aa6
mon: make pool snap creation ops idempotent

Return 0 if the snap already exists, or is already deleted.

Also, avoid updating the pg_pool if we are just waiting for the current
round to commit.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/OSDMonitor.cc