[Neo-report] r2374 vincent - /trunk/neo/master/handlers/storage.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Oct 30 01:03:28 CEST 2010


Author: vincent
Date: Sat Oct 30 01:03:26 2010
New Revision: 2374

Log:
Storage node is never ready upon connection, not just when running.

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

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] Sat Oct 30 01:03:26 2010
@@ -33,9 +33,9 @@ class StorageServiceHandler(BaseServiceH
         app = self.app
         uuid = conn.getUUID()
         node = app.nm.getByUUID(uuid)
+        app.setStorageNotReady(uuid)
         # XXX: what other values could happen ?
         if node.isRunning():
-            app.setStorageNotReady(uuid)
             conn.notify(Packets.StartOperation())
 
     def nodeLost(self, conn, node):





More information about the Neo-report mailing list