Commit 53247b42 authored by Vincent Pelletier's avatar Vincent Pelletier

Only handle partition change notification if the partition is already filled.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1103 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 46174b92
......@@ -154,7 +154,9 @@ class PrimaryNotificationsHandler(BaseHandler):
# because it's in the master handler, so the connection is already
# established.
def handleNotifyPartitionChanges(self, conn, packet, ptid, cell_list):
self.app.pt.update(ptid, cell_list, self.app.nm)
pt = self.app.pt
if pt.filled():
pt.update(ptid, cell_list, self.app.nm)
def handleSendPartitionTable(self, conn, packet, ptid, row_list):
self.app.pt.load(ptid, row_list, self.app.nm)
......
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