this method is basically an alias of
ConfigKeyService::service_dispatch(), so get rid of it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
paxos(p)
{}
-bool ConfigKeyService::dispatch(MonOpRequestRef op) {
- return service_dispatch(op);
-}
-
bool ConfigKeyService::in_quorum() const
{
return (mon.is_leader() || mon.is_peon());
}
}
-bool ConfigKeyService::service_dispatch(MonOpRequestRef op)
+bool ConfigKeyService::dispatch(MonOpRequestRef op)
{
Message *m = op->get_req();
ceph_assert(m != NULL);
~ConfigKeyService() {}
bool dispatch(MonOpRequestRef op);
- bool service_dispatch(MonOpRequestRef op);
int validate_osd_destroy(const int32_t id, const uuid_d& uuid);
void do_osd_destroy(int32_t id, uuid_d& uuid);