From c87130550b47754c679f9df9ef9173d078107bf6 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Mon, 10 Aug 2015 14:45:34 +0100 Subject: [PATCH] mon: Monitor: set MMonJoin's op type as service Otherwise, when the MonmapMonitor's PaxosService::dispatch() handles the message, it will assert (as it should) because the op is marked as being a monitor op. And this function should never handle monitor ops. Signed-off-by: Joao Eduardo Luis --- src/mon/Monitor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 0e2068b9890..7e0887f7fd2 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -3670,6 +3670,7 @@ void Monitor::dispatch_op(MonOpRequestRef op) // monmap case MSG_MON_JOIN: + op->set_type_service(); paxos_service[PAXOS_MONMAP]->dispatch(op); break; -- 2.47.3