Commit b846c02a authored by Aurel's avatar Aurel

only storage node can send "notify partition changes" messages


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@245 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d206645d
......@@ -627,6 +627,11 @@ class ServiceEventHandler(MasterEventHandler):
self.handleUnexpectedPacket(conn, packet)
return
if not isinstance(node, StorageNode):
self.handleUnexpectedPacket(conn, packet)
return
new_cell_list = []
for cell in cell_list:
if cell[2] != UP_TO_DATE_STATE:
......
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