You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The crawler grabs a batch of 1000 rows, loops over them, if it can't get a lock then it moves on. But if it goes through the whole batch and doesn't get any locks it grabs the same batch again and just keeps looping.
In practice this isn't a big deal unless there is a broken lock and the queue is actually small so maybe this is more prevalent on a dev box.
Need some sort of lock cleanup the same as cron task cleanup?
Need to detect if the batch loop has done nothing and exit early
The text was updated successfully, but these errors were encountered:
brendanheywood
changed the title
When crawling a batch can go in circles for a long time if it cannot do anything
When crawling a batch can go in circles for a long time if it cannot do anything (eg broken locks)
Feb 4, 2025
The crawler grabs a batch of 1000 rows, loops over them, if it can't get a lock then it moves on. But if it goes through the whole batch and doesn't get any locks it grabs the same batch again and just keeps looping.
In practice this isn't a big deal unless there is a broken lock and the queue is actually small so maybe this is more prevalent on a dev box.
The text was updated successfully, but these errors were encountered: