Commit 956d5c91 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix r2092.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2097 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent b9f52371
......@@ -122,7 +122,7 @@ class PartitionTable(neo.pt.PartitionTable):
node = nm.getByUUID(uuid)
if node is None:
node = nm.createStorage(uuid=uuid)
new_nodes.append(node)
new_nodes.append(node.asTuple())
self.setCell(offset, node, state)
return new_nodes
......
......@@ -141,7 +141,7 @@ class RecoveryManager(MasterHandler):
except IndexError:
raise ProtocolError('Invalid offset')
else:
notification = Packets.SendPartitionTable(ptid, row_list)
notification = Packets.NotifyNodeInformation(new_nodes)
# notify the admin nodes
for node in self.app.nm.getAdminList(only_identified=True):
node.notify(notification)
......
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