Commit 0af7dcb7 authored by Vincent Pelletier's avatar Vincent Pelletier

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.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1831 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent e5d8daca
......@@ -780,6 +780,8 @@ class Application(object):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment