Commit 4e7c13c1 authored by Aurel's avatar Aurel

remove node in DISCARDED_STATE from partition table in memory too


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@566 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 2c17e90a
......@@ -211,7 +211,9 @@ class OperationEventHandler(StorageEventHandler):
if uuid != app.uuid:
node.setState(TEMPORARILY_DOWN_STATE)
nm.add(node)
if state == DISCARDED_STATE:
pt.removeCell(offset, node)
else:
pt.setCell(offset, node, state)
if uuid == app.uuid:
......
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