Commit e5d8daca authored by Vincent Pelletier's avatar Vincent Pelletier

When searching for transaction information, only ask to readable nodes.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1830 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ea786056
...@@ -764,7 +764,7 @@ class Application(object): ...@@ -764,7 +764,7 @@ class Application(object):
raise StorageTransactionError(self, transaction_id) raise StorageTransactionError(self, transaction_id)
# First get transaction information from a storage node. # First get transaction information from a storage node.
cell_list = self._getCellListForTID(transaction_id, writable=True) cell_list = self._getCellListForTID(transaction_id, readable=True)
shuffle(cell_list) shuffle(cell_list)
for cell in cell_list: for cell in cell_list:
conn = self.cp.getConnForCell(cell) conn = self.cp.getConnForCell(cell)
......
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