Commit 5dbef120 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Handle notifyReady during verification.

A storage might notify the master after the cluster as fall down to the
verification state.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2426 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 19e84f58
...@@ -100,3 +100,6 @@ class BaseServiceHandler(MasterHandler): ...@@ -100,3 +100,6 @@ class BaseServiceHandler(MasterHandler):
# clean node related data in specialized handlers # clean node related data in specialized handlers
self.nodeLost(conn, node) self.nodeLost(conn, node)
def notifyReady(self, conn):
self.app.setStorageReady(conn.getUUID())
...@@ -143,6 +143,3 @@ class StorageServiceHandler(BaseServiceHandler): ...@@ -143,6 +143,3 @@ class StorageServiceHandler(BaseServiceHandler):
if not client.isClosed(): if not client.isClosed():
client.answer(Packets.AnswerPack(True), msg_id=msg_id) client.answer(Packets.AnswerPack(True), msg_id=msg_id)
def notifyReady(self, conn):
self.app.setStorageReady(conn.getUUID())
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