Commit 32e85309 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6972f999
...@@ -586,7 +586,10 @@ func (δTtail *_ΔTtail) __rebuild(root zodb.Oid, δBtail *ΔBtail, releaseLock ...@@ -586,7 +586,10 @@ func (δTtail *_ΔTtail) __rebuild(root zodb.Oid, δBtail *ΔBtail, releaseLock
// krebuildJobs += ktrackNew // krebuildJobs += ktrackNew
for _, r := range ktrackNew.AllRanges() { for _, r := range ktrackNew.AllRanges() {
// XXX assert !krebuildJobs.IntersectsRange(e.KeyRange) if δTtail.krebuildJobs.IntersectsRange(r) {
panicf("BUG: rebuild: krebuildJobs ^ ktrackNew != ø:\nkrebuildJobs: %s\nktrackNew: %s",
δTtail.krebuildJobs, ktrackNew)
}
δTtail.krebuildJobs.SetRange(r, job) δTtail.krebuildJobs.SetRange(r, job)
} }
delete(δBtail.trackNewRoots, root) delete(δBtail.trackNewRoots, root)
......
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