Commit 393da381 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Accept (but ignore for now) NotifyClusterInformation packets in base master

handler to avoid the application crash.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@727 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3acd52fa
...@@ -88,6 +88,9 @@ class MasterEventHandler(EventHandler): ...@@ -88,6 +88,9 @@ class MasterEventHandler(EventHandler):
def handleNotifyPartitionChanges(self, conn, packet, ptid, cell_list): def handleNotifyPartitionChanges(self, conn, packet, ptid, cell_list):
logging.error('ignoring notify partition changes in %s' % self.__class__.__name__) logging.error('ignoring notify partition changes in %s' % self.__class__.__name__)
def handleNotifyClusterInformation(self, conn, packet, state):
logging.error('ignoring notify cluster information in %s' % self.__class__.__name__)
def handleAskPrimaryMaster(self, conn, packet): def handleAskPrimaryMaster(self, conn, packet):
app = self.app app = self.app
if app.primary: if app.primary:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment