[Neo-report] r2092 gregory - /trunk/neo/master/recovery.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri May 7 16:50:27 CEST 2010


Author: gregory
Date: Fri May  7 16:50:25 2010
New Revision: 2092

Log:
Notify only admin nodes about new storage during recovery.

Modified:
    trunk/neo/master/recovery.py

Modified: trunk/neo/master/recovery.py
==============================================================================
--- trunk/neo/master/recovery.py [iso-8859-1] (original)
+++ trunk/neo/master/recovery.py [iso-8859-1] Fri May  7 16:50:25 2010
@@ -141,8 +141,9 @@
         except IndexError:
             raise ProtocolError('Invalid offset')
         else:
-            self.app.broadcastNodesInformation(new_nodes)
+            notification = Packets.SendPartitionTable(ptid, row_list)
             # notify the admin nodes
             for node in self.app.nm.getAdminList(only_identified=True):
+                node.notify(notification)
                 self.app.sendPartitionTable(node.getConnection())
 





More information about the Neo-report mailing list