Bug AbstractRebuildJob can result in tasks running ad infinitum

There is a bug in this version
P

PaulB

Guest
If getNextIds takes too long, as can happen with especially large or complex tables, run will exit without attempting to rebuild any of the IDs. That will result in $data->data['start'] being left unchanged, and run will keep retrying with the same $this->data['start'] value over and over again.

Logic from \XF\Job\AbstractRebuildJob::run:
PHP:

Code:
public function run($maxRunTime)
{
   $startTime = microtime(true);

   // ...

   $ids =...

Read more

Continue reading...