Fixed with commit 630af71. The issue was that
CrawlModel::setCrawlSeedInfo used the variable $info to read in the current count, then accidentally the variable $info was also used as the value
of a key=>value foreach, thus erasing $info's original value. Then the deleted $info was written out to disk. This was fixed by renaming the variable of the foreach loop parameter to $type_info.
Stats going weird after injecting a new seed-url, while crawling is active!
Steps to reproduce: Inject a new seed-url, while a crawl is active
Additional information: http://www.seekquarry.com/phpBB/viewtopic.php?f=1&t=921
Adding a target for a version to fix this by.
Fixed with commit 630af71. The issue was that CrawlModel::setCrawlSeedInfo used the variable $info to read in the current count, then accidentally the variable $info was also used as the value of a key=>value foreach, thus erasing $info's original value. Then the deleted $info was written out to disk. This was fixed by renaming the variable of the foreach loop parameter to $type_info.