Commit 41bda039 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 04a2e65c
......@@ -474,12 +474,12 @@ func (δBtail *ΔBtail) track(path []zodb.Oid, keycov KeyRange) {
// nothing to do if keycov is already queued to be tracked in trackNew or krebuildJobs
if δTtail.krebuildJobs.IntersectsRange(keycov) {
tracefΔBtail("->T: nop (already in krebuildJobs)\n")
assertSamePathToLeaf(job.trackNew, "job.trackNew")
job, r, ok := δTtail.krebuildJobs.Get_(keycov.Lo)
if !(ok && r == keycov) {
panicf("BUG: keycov is present in krebuildJobs only partly\nkeycov: %s\nkrebuildJobs: %v",
panicf("BUG: keycov is already present in krebuildJobs, but only partly\nkeycov: %s\nkrebuildJobs: %v",
keycov, δTtail.krebuildJobs)
}
assertSamePathToLeaf(job.trackNew, "job.trackNew")
return
}
......
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