Commit 31eec90a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9af3baa8
...@@ -1680,8 +1680,13 @@ func (δBtail *ΔBtail) GetAt(ctx context.Context, root *Tree, key Key, at zodb. ...@@ -1680,8 +1680,13 @@ func (δBtail *ΔBtail) GetAt(ctx context.Context, root *Tree, key Key, at zodb.
// XXX root -> *Tree ? // XXX root -> *Tree ?
func (δBtail *ΔBtail) SliceByRootRev(root zodb.Oid, lo, hi zodb.Tid) /*readonly*/[]ΔTree { func (δBtail *ΔBtail) SliceByRootRev(root zodb.Oid, lo, hi zodb.Tid) /*readonly*/[]ΔTree {
δassertSlice(δBtail, lo, hi) δassertSlice(δBtail, lo, hi)
return []ΔTree{} // XXX stub // XXX locking
panic("TODO") δTtail, ok := δBtail.byRoot[root]
if !ok {
return []ΔTree{}
}
// XXX dup data - because they can be further rebuild in parallel to caller using them
return δTtail.vδT // FIXME process lo, hi
} }
......
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