Commit 6da1b463 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Do not remove storage nodes from the partition table when got disconnect, this

is a critical operation (can cause data loss) that should only be done by an
administrator.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@725 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d925f14d
...@@ -253,9 +253,6 @@ class StorageServiceEventHandler(ServiceEventHandler): ...@@ -253,9 +253,6 @@ class StorageServiceEventHandler(ServiceEventHandler):
app = self.app app = self.app
node.setState(new_state) node.setState(new_state)
app.broadcastNodeInformation(node) app.broadcastNodeInformation(node)
cell_list = app.pt.dropNode(node)
ptid = app.pt.setNextID()
app.broadcastPartitionChanges(ptid, cell_list)
if not app.pt.operational(): if not app.pt.operational():
raise OperationFailure, 'cannot continue operation' raise OperationFailure, 'cannot continue operation'
......
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