Commit 2b9e14e8 by Julien Muchembled

admin: fix misuse of Packet.setId

What Packet.setId does was overridden by Connection.answer
and that would have broken concurrent queries to the admin node
(this is something we currently don't do).
1 parent 93637a41
......@@ -101,8 +101,7 @@ class MasterEventHandler(EventHandler):
if forward is None:
super(MasterEventHandler, self).dispatch(conn, packet, kw)
else:
packet.setId(kw['msg_id'])
forward.answer(packet)
forward.send(packet, kw['msg_id'])
def answerClusterState(self, conn, state):
self.app.cluster_state = state
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!