]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: Rearrange Paxos::dispatch to be a little cleaner
authorGreg Farnum <gfarnum@redhat.com>
Thu, 20 Jun 2019 20:38:12 +0000 (13:38 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Mon, 19 Aug 2019 20:04:59 +0000 (13:04 -0700)
commit0c85f8fe68c36575c9a6cd82239a3b91e2c121ae
tree4e3c03ea71b992d70a32888bf155a6ca977d4008
parent0dd2d0fd7e103a6777b6e62006ea6d7332df0fd9
mon: Rearrange Paxos::dispatch to be a little cleaner

The Message is actually always a MMonPaxos (which is not a subtype of
PaxosServiceMessage, so that whole thing was wrong!). This lets
us clean up the switch quite a bit and correct the odd casts
going around.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/mon/Paxos.cc