Commit fcbc604b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 97ca23f6
......@@ -94,6 +94,7 @@ func (δf *ΔFTail) Update(δZ *zodb.EventCommit) ΔFentry {
}
}
/* XXX kill
// LastRevOf return last_rev file[blk] @at XXX
//
// XXX -> merge into ZBigFile.LoadBlk?
......@@ -111,6 +112,7 @@ func (δf *ΔFTail) LastRevOf(file *BigFile, blk int64, at zodb.Tid) (_ zodb.Tid
// been changing after treeKeyRev. We have to check for that.
panic("TODO")
}
*/
// XXX δB.GetAt(root, key, at) at ∈ (tail, head]
......@@ -134,7 +136,7 @@ func (f *BigFile) LastBlkRev(blk int64, at zodb.Tid) (_ zodb.Tid, exact bool) {
// blktab[blk] was changed to point to a zblk @rev.
// blk revision is max rev and when zblk changed last in (rev, at] range.
zblkRev, zblkRevExact := δZ.LastRevOf(zblkOid, at)
zblkRev, zblkRevExact := δf.ΔTail.δZtail.LastRevOf(zblkOid, at)
if zblkRev > tabRev {
return zblkRev, zblkRevExact
} else {
......
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