Commit e072a39f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e2eb170c
...@@ -222,7 +222,7 @@ func (δFtail *ΔFtail) rebuildAll() (err error) { ...@@ -222,7 +222,7 @@ func (δFtail *ΔFtail) rebuildAll() (err error) {
// XXX locking // XXX locking
for foid := range δFtail.trackNew { for foid := range δFtail.trackNew {
delete(δFtail.trackNew, foid) δFtail.trackNew.Del(foid)
δftail := δFtail.byFile[foid] δftail := δFtail.byFile[foid]
δBtail := δFtail.δBtail δBtail := δFtail.δBtail
err := δftail.rebuild1(foid, δBtail.ΔZtail(), δBtail.DB()) err := δftail.rebuild1(foid, δBtail.ΔZtail(), δBtail.DB())
...@@ -245,6 +245,7 @@ func (δFtail *ΔFtail) rebuildIfNeeded(foid zodb.Oid) (_ *_ΔFileTail, err erro ...@@ -245,6 +245,7 @@ func (δFtail *ΔFtail) rebuildIfNeeded(foid zodb.Oid) (_ *_ΔFileTail, err erro
if δftail.vδE != nil { if δftail.vδE != nil {
err = nil err = nil
} else { } else {
δFtail.trackNew.Del(foid)
δBtail := δFtail.δBtail δBtail := δFtail.δBtail
err = δftail.rebuild1(foid, δBtail.ΔZtail(), δBtail.DB()) err = δftail.rebuild1(foid, δBtail.ΔZtail(), δBtail.DB())
} }
......
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