Commit 6070497f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 568dbab5
...@@ -301,7 +301,7 @@ func (δFtail *ΔFtail) rebuildAll() (err error) { ...@@ -301,7 +301,7 @@ func (δFtail *ΔFtail) rebuildAll() (err error) {
δZtail := δBtail.ΔZtail() δZtail := δBtail.ΔZtail()
db := δBtail.DB() db := δBtail.DB()
for foid := range δFtail.trackNew { for foid := range δFtail.trackNew {
δFtail.trackNew.Del(foid) δFtail.trackNew.Del(foid) // XXX -> to after vδEBuild
δftail := δFtail.byFile[foid] δftail := δFtail.byFile[foid]
δftail.vδE, err = vδEBuild(foid, δZtail, db) δftail.vδE, err = vδEBuild(foid, δZtail, db)
if err != nil { if err != nil {
...@@ -326,7 +326,7 @@ func (δFtail *ΔFtail) rebuild1IfNeeded(foid zodb.Oid) (vδE []_ΔFileEpoch, he ...@@ -326,7 +326,7 @@ func (δFtail *ΔFtail) rebuild1IfNeeded(foid zodb.Oid) (vδE []_ΔFileEpoch, he
if δftail.vδE == nil { if δftail.vδE == nil {
δFtail.trackNew.Del(foid) δFtail.trackNew.Del(foid)
δBtail := δFtail.δBtail δBtail := δFtail.δBtail
// XXX indicate rebuild via job // XXX indicate in-progress rebuild via job
δFtail.mu.Unlock() δFtail.mu.Unlock()
// err = δftail._rebuild1(foid, δBtail.ΔZtail(), δBtail.DB()) // err = δftail._rebuild1(foid, δBtail.ΔZtail(), δBtail.DB())
vδE, err = vδEBuild(foid, δBtail.ΔZtail(), δBtail.DB()) vδE, err = vδEBuild(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