Commit 40f18533 authored by Grégory Wisniewski's avatar Grégory Wisniewski

When adding pending nodes, notify them the last OID so they can write it in

their database.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1258 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 01c63c90
...@@ -124,6 +124,7 @@ class AdministrationHandler(MasterHandler): ...@@ -124,6 +124,7 @@ class AdministrationHandler(MasterHandler):
# start nodes # start nodes
for s_conn in em.getConnectionList(): for s_conn in em.getConnectionList():
if s_conn.getUUID() in uuid_set: if s_conn.getUUID() in uuid_set:
s_conn.notify(protocol.notifyLastOID(app.loid))
s_conn.notify(protocol.startOperation()) s_conn.notify(protocol.startOperation())
# broadcast the new partition table # broadcast the new partition table
app.broadcastPartitionChanges(app.pt.setNextID(), cell_list) app.broadcastPartitionChanges(app.pt.setNextID(), cell_list)
......
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