Commit 4766e070 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Outdate partition table after drop a storage node to set associated cell in

outdated state and so, trigger the replication process when the node come back.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@875 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 982abf85
......@@ -38,7 +38,10 @@ class StorageServiceHandler(BaseServiceHandler):
conn.notify(protocol.startOperation())
def _nodeLost(self, conn, node):
if not self.app.pt.operational():
pt = self.app.pt
# TODO: check this, is it need ? do we have to broadcast changes ?
pt.outdate()
if not pt.operational():
raise OperationFailure, 'cannot continue operation'
def handleNotifyInformationLocked(self, conn, packet, 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