]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: OSDMonitor: don't propose on prepare_pool_op()
authorJoao Eduardo Luis <jecluis@gmail.com>
Wed, 28 Aug 2013 16:42:14 +0000 (17:42 +0100)
committerJoao Eduardo Luis <jecluis@gmail.com>
Wed, 28 Aug 2013 23:48:20 +0000 (00:48 +0100)
commit274b4b96cfaf46a465081880ace0bad5bd8da12d
tree8bdc27e8da6be02b2e2476d1f8eccb63d155b149
parentfab79543c54c2e446d3f76520d7906645c6b0075
mon: OSDMonitor: don't propose on prepare_pool_op()

Except in very special cases, we should let PaxosService take its course
and trigger the proposals itself.  In this case, we were proposing right
before returning to PaxosService, and we were returning false on top of it
(most likely to guarantee that PaxosService wouldn't try to propose).

This doesn't make much sense, so let's do it like all the other cool kids
are doing and let PaxosService decide what's best for us.

Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
src/mon/OSDMonitor.cc