[Neo-report] r2074 gregory - /trunk/neo/master/app.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 5 18:49:04 CEST 2010


Author: gregory
Date: Wed May  5 18:49:04 2010
New Revision: 2074

Log:
Trigger connectionClosed() on dropped client connection.

This avoid get zombie client nodes in manager when the cluster fallback to
verification state.

Modified:
    trunk/neo/master/app.py

Modified: trunk/neo/master/app.py
==============================================================================
--- trunk/neo/master/app.py [iso-8859-1] (original)
+++ trunk/neo/master/app.py [iso-8859-1] Wed May  5 18:49:04 2010
@@ -348,7 +348,9 @@
                     if node.isStorage() or node.isClient():
                         node.notify(Packets.StopOperation())
                         if node.isClient():
-                            node.getConnection().abort()
+                            conn = node.getConnection()
+                            conn.abort()
+                            conn.getHandler().connectionClosed(conn)
 
                 # Then, go back, and restart.
                 return





More information about the Neo-report mailing list