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

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


Author: gregory
Date: Fri May  7 16:50:04 2010
New Revision: 2090

Log:
Notify admin of new partitions tables 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:04 2010
@@ -151,4 +151,8 @@
             self.app.pt.load(ptid, row_list, self.app.nm)
         except IndexError:
             raise ProtocolError('Invalid offset')
+        else:
+            # notify the admin nodes
+            for node in self.app.nm.getAdminList(only_identified=True):
+                self.app.sendPartitionTable(node.getConnection())
 





More information about the Neo-report mailing list