Infinite loop for failing issue sync in queues

Created on 1 August 2024, 6 months ago
Updated 3 September 2024, 5 months ago

Problem/Motivation

When synchronising issue with the queue and that fails e.g. because the user name admin can not be used, then this throws a requeue exception and the same items gets processed again right away. Of course, it then fails again, and that runs into an infinite loop.

The same problem is likely to happen for other sync queues as well.

Proposed resolution

Sounds like some tasks need to be taken.

For some error types, we should not requeue because we know that this will never succeed.

For others, we should at least write log messages so that the site owner knows what's going wrong. The requeue should probably only happen with a delay.

Do we also need something like a max retry threshold? I wonder if the Drupal queue API already supports that?

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024