Commit 3633fc3d authored by Aurel's avatar Aurel

setCell will automatically remove cell in DISCARDED_STATE so remove

useless code


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@573 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 2a962ad9
......@@ -211,10 +211,7 @@ 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)
pt.setCell(offset, node, state)
if uuid == app.uuid:
# If this is for myself, this can affect replications.
......
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