Commit f64b7c46 authored by Aurel's avatar Aurel

when going operationnal, also send the pt to admin nodes


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@568 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 9cde76d3
......@@ -544,13 +544,13 @@ class Application(object):
# be very huge. Thus it would be better to flush the buffers from time
# to time _without_ reading packets.
# Send the current partition table to storage nodes, so that
# Send the current partition table to storage and admin nodes, so that
# all nodes share the same view.
for conn in em.getConnectionList():
uuid = conn.getUUID()
if uuid is not None:
node = nm.getNodeByUUID(uuid)
if node.getNodeType() == STORAGE_NODE_TYPE:
if node.getNodeType() in (STORAGE_NODE_TYPE, ADMIN_NODE_TYPE):
self.sendPartitionTable(conn)
# Gather all unfinished transactions.
......
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