Commit f8a85256 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove an XXX an explain why in comments.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1743 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d6fb665c
...@@ -201,7 +201,9 @@ class TransactionManager(object): ...@@ -201,7 +201,9 @@ class TransactionManager(object):
Abort a transaction Abort a transaction
""" """
if tid not in self._transaction_dict: if tid not in self._transaction_dict:
# XXX: this happen sometimes, explain or fix # the tid may be unknown as the transaction is aborted on every node
# of the partition, even if no data was received (eg. conflict on
# another node)
return return
transaction = self._transaction_dict[tid] transaction = self._transaction_dict[tid]
has_load_lock = transaction.isLocked() has_load_lock = transaction.isLocked()
......
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