[Neo-report] r2426 gregory - in /trunk/neo/master/handlers: __init__.py storage.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 8 11:23:45 CET 2010


Author: gregory
Date: Mon Nov  8 11:23:44 2010
New Revision: 2426

Log:
Handle notifyReady during verification.

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

Modified:
    trunk/neo/master/handlers/__init__.py
    trunk/neo/master/handlers/storage.py

Modified: trunk/neo/master/handlers/__init__.py
==============================================================================
--- trunk/neo/master/handlers/__init__.py [iso-8859-1] (original)
+++ trunk/neo/master/handlers/__init__.py [iso-8859-1] Mon Nov  8 11:23:44 2010
@@ -100,3 +100,6 @@ class BaseServiceHandler(MasterHandler):
         # clean node related data in specialized handlers
         self.nodeLost(conn, node)
 
+    def notifyReady(self, conn):
+        self.app.setStorageReady(conn.getUUID())
+

Modified: trunk/neo/master/handlers/storage.py
==============================================================================
--- trunk/neo/master/handlers/storage.py [iso-8859-1] (original)
+++ trunk/neo/master/handlers/storage.py [iso-8859-1] Mon Nov  8 11:23:44 2010
@@ -143,6 +143,3 @@ class StorageServiceHandler(BaseServiceH
                 if not client.isClosed():
                     client.answer(Packets.AnswerPack(True), msg_id=msg_id)
 
-    def notifyReady(self, conn):
-        self.app.setStorageReady(conn.getUUID())
-





More information about the Neo-report mailing list