Coffee module's hook_flush_caches is implemented so that cache_coffee table is flushed thousand of times per cache clear.
This will cause cache clearing to slow down and also caused a deadlock to mysql cache_coffee table.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

attekilpela’s picture

I have created a patch to fix this issue.
It's copied from admin_menu module which has been used for the original cache flush implementation as well.

attekilpela’s picture

Issue tags: +Needs Review
attekilpela’s picture

Status: Active » Needs review
Issue tags: -Needs Review
michaelmol’s picture

Status: Needs review » Fixed

We had an issue about a mysql deadlock before, now I can imagine what the reason was.

I have committed the patch, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.