Commit 61f8777d authored by Vincent Pelletier's avatar Vincent Pelletier

Rename _loadFromStorage variables to remove ambiguity.

git-svn-id: 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 7c315e8b
......@@ -512,7 +512,7 @@ class Application(object):
return data, start_serial, end_serial
def _loadFromStorage(self, oid, serial, tid):
def _loadFromStorage(self, oid, at_tid, before_tid):
cell_list = self._getCellListForOID(oid, readable=True)
if len(cell_list) == 0:
# No cells available, so why are we running ?
......@@ -522,10 +522,10 @@ class Application(object):
self.local_var.asked_object = 0
packet = Packets.AskObject(oid, serial, tid)
packet = Packets.AskObject(oid, at_tid, before_tid)
for cell in cell_list:
neo.logging.debug('trying to load %s at %s before %s from %s',
dump(oid), dump(serial), dump(tid), dump(cell.getUUID()))
dump(oid), dump(at_tid), dump(before_tid), dump(cell.getUUID()))
conn = self.cp.getConnForCell(cell)
if conn is None:
......@@ -536,7 +536,7 @@ class Application(object):
# Check data
noid, start_serial, end_serial, compression, checksum, data \
noid, tid, next_tid, compression, checksum, data \
= self.local_var.asked_object
if noid != oid:
# Oops, try with next node
......@@ -565,7 +565,7 @@ class Application(object):
# Uncompress data
if compression:
data = decompress(data)
return data, start_serial, end_serial
return data, tid, next_tid
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