From 16:00 to 19:00 UTC there was a banner test with lots of traffic.
The donation queue consumer was only processing about 3 per second, far too slow to keep up with donations. Some donors had to wait more than an hour for their thank you letters.
There was some manual merge activity going on in the Civi UI, but no long-running queries.
We turned on debug logging for the process-control output for a few of the consumer runs. debug output can be found in log files from
donations_queue_consume-20220713-180502.log to
donations_queue_consume-20220713-182302.log
The longest time gap between subsequent lines there is between the 'Beginning DB transaction' log line that includes a json blob of the donation and the 'Contribution array for civicrm_contribution_add()' log line. This is about 0.2 seconds. Let's see what's happening in there and if the June 30th Civi core update had anything to do with the slowdown.