I'm trying to debug an issue where several thousand cirrus search jobs have been marked as abandoned, unfortunately retrieving them via php to inspect is showing to not be working. I did some light debugging and this is talking to redis, it is retrieving some things, but the end result is an empty iterator. I have not figured out what exactly is causing this though. This doesn't block my work, i can extract some keys and manually query redis, but it would be nice if this worked.
Test script:
$queue = JobQueueGroup::singleton()->get('cirrusSearchIncomingLinkCount'); $count = 0; foreach ( $queue->getAllAbandonedJobs() as $job ) { $count++; } var_dump( $queue->getAbandonedCount(), $count );
Expected output:
int(3103) int(3103)
Actual output:
int(3103) int(0)