Commit 453fdf07 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Use all nodes to look for undoable transactions, to be verified.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@404 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 01bc2f88
...@@ -726,10 +726,8 @@ class Application(object): ...@@ -726,10 +726,8 @@ class Application(object):
# First get a list of transactions from all storage nodes. # First get a list of transactions from all storage nodes.
#storage_node_list = [x for x in self.pt.getNodeList() if x.getState() \ #storage_node_list = [x for x in self.pt.getNodeList() if x.getState() \
# in (UP_TO_DATE_STATE, FEEDING_STATE)] # in (UP_TO_DATE_STATE, FEEDING_STATE)]
storage_node_list = [] # FIXME: should we filter the node list with usable cells ?
for cell in self.pt.getCellList(0): # FIXME: check the argument storage_node_list = self.pt.getNodeList()
if cell.getState() in (UP_TO_DATE_STATE, FEEDING_STATE):
storage_node_list.append(cell.getNode())
self.local_var.node_tids = {} self.local_var.node_tids = {}
for storage_node in storage_node_list: for storage_node in storage_node_list:
......
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