If you delete an entry faster as the queue can execute an index job, you run into an error "Element #9055834 (site #1) not found (type: craft\elements\Entry)", because the element doesn't exists anymore. The delete action should also delete index entries in the queue to prevent such an error.
Tasks to reproduce this error:
set "runQueueAutomatically" to false in config/general.php
If you delete an entry faster as the queue can execute an index job, you run into an error "Element #9055834 (site #1) not found (type: craft\elements\Entry)", because the element doesn't exists anymore. The delete action should also delete index entries in the queue to prevent such an error.
Tasks to reproduce this error:
I will look, if I could make a patch for this.