[Neo-report] r1831 vincent - /trunk/neo/client/app.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 23 13:30:53 CET 2010


Author: vincent
Date: Tue Feb 23 13:30:51 2010
New Revision: 1831

Log:
Add a warning when transaction cannot be found where it should be.

This can happen if client's knowledge of nodes is lagging, and it should
be safe to ignore this here.

Modified:
    trunk/neo/client/app.py

Modified: trunk/neo/client/app.py
==============================================================================
--- trunk/neo/client/app.py [iso-8859-1] (original)
+++ trunk/neo/client/app.py [iso-8859-1] Tue Feb 23 13:30:51 2010
@@ -780,6 +780,8 @@
 
             if self.local_var.txn_info == -1:
                 # Tid not found, try with next node
+                logging.warning('Transaction %s was not found on node %s',
+                    dump(tid), self.nm.getByAddress(conn.getAddress()))
                 continue
             elif isinstance(self.local_var.txn_info, dict):
                 break





More information about the Neo-report mailing list