Commit 18028be2 authored by Aurel's avatar Aurel

remove discarded node from partition table


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@471 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent aba0d60f
...@@ -282,7 +282,9 @@ class ClientEventHandler(BaseClientEventHandler): ...@@ -282,7 +282,9 @@ class ClientEventHandler(BaseClientEventHandler):
if uuid != app.uuid: if uuid != app.uuid:
node.setState(TEMPORARILY_DOWN_STATE) node.setState(TEMPORARILY_DOWN_STATE)
nm.add(node) nm.add(node)
if state == DISCARDED_STATE:
pt.dropNode(node)
else:
pt.setCell(offset, node, state) pt.setCell(offset, node, state)
def handleInvalidateObjects(self, conn, packet, oid_list, tid): def handleInvalidateObjects(self, conn, packet, oid_list, tid):
......
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