Commit e072a39f authored by Kirill Smelkov's avatar Kirill Smelkov

.

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