Commit 94248a81 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Notify admin of new partitions tables during recovery.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2090 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 58f18f31
......@@ -151,4 +151,8 @@ class RecoveryManager(MasterHandler):
self.app.pt.load(ptid, row_list, self.app.nm)
except IndexError:
raise ProtocolError('Invalid offset')
else:
# notify the admin nodes
for node in self.app.nm.getAdminList(only_identified=True):
self.app.sendPartitionTable(node.getConnection())
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