Commit db31b672 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Ignore incrementals partition changes during initialization stage, because the

storage is gathering the full table. 


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@793 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 9a930da9
......@@ -70,3 +70,9 @@ class InitializationHandler(BaseMasterHandler):
logging.info('Got the partition table :')
self.app.pt.log()
def handleNotifyPartitionChanges(self, conn, packet, ptid, cell_list):
# XXX: Currently it safe to ignore those packets because the master is
# single threaded, it send the partition table without any changes at
# the same time. Latter it should be needed to put in queue any changes
# and apply them when the initial partition is filled.
logging.info('ignoring notifyPartitionChanges during initialization')
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