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,8 +282,10 @@ class ClientEventHandler(BaseClientEventHandler):
if uuid != app.uuid:
node.setState(TEMPORARILY_DOWN_STATE)
nm.add(node)
pt.setCell(offset, node, state)
if state == DISCARDED_STATE:
pt.dropNode(node)
else:
pt.setCell(offset, node, state)
def handleInvalidateObjects(self, conn, packet, oid_list, tid):
app = self.app
......
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