Commit 59557f8a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4d0947ec
...@@ -312,7 +312,7 @@ func (δFtail *ΔFtail) Track(file *ZBigFile, blk int64, path []btree.LONode, bl ...@@ -312,7 +312,7 @@ func (δFtail *ΔFtail) Track(file *ZBigFile, blk int64, path []btree.LONode, bl
inroot = make(setOid, 1) inroot = make(setOid, 1)
δFtail.ztrackInRoots[zoid] = inroot δFtail.ztrackInRoots[zoid] = inroot
} }
inroot.Add(zoid) inroot.Add(root)
inblk, ok := rt.Zinblk[zoid] inblk, ok := rt.Zinblk[zoid]
if !ok { if !ok {
...@@ -523,6 +523,8 @@ func (δFtail *ΔFtail) Update(δZ *zodb.EventCommit) (_ ΔF, err error) { ...@@ -523,6 +523,8 @@ func (δFtail *ΔFtail) Update(δZ *zodb.EventCommit) (_ ΔF, err error) {
for root := range inroot { for root := range inroot {
rt := δFtail.byRoot[root] // must be there rt := δFtail.byRoot[root] // must be there
// fmt.Printf("ztrackInRoots: %v\n", δFtail.ztrackInRoots)
// fmt.Printf("rt: %v\n", rt)
inblk, ok := rt.Zinblk[oid] inblk, ok := rt.Zinblk[oid]
if !ok || len(inblk) == 0 { if !ok || len(inblk) == 0 {
continue continue
......
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