action-scheduler icon indicating copy to clipboard operation
action-scheduler copied to clipboard

Spike: Research the best way to detect when MySQL is out of temporary space

Open jonathansadowski opened this issue 4 years ago • 1 comments
trafficstars

There's a suggestion that #634 could be solved if we added a check to see if MySQL is out of temporary space.

Desired outcome of this spike: proposal for a way to detect MySQL has exhausted its temporary space and an understanding of whether or not we could apply that detection toward solving #634.

jonathansadowski avatar Jan 11 '21 23:01 jonathansadowski

Some relevant docs/articles:

Possibly we can detect this specific error (whether that's through exception handling, or by inspecting $wpdb->last_error, or some other approach) and then we could perhaps put a temporary pause on further queue processing (as proposed here).

However, we also recently added an extra set of safety checks to prevent the AS-specific problem of actions being processed ahead-of-time. With that in place, I'm wondering if there is still value in doing more research here, or if this can be closed.

cc @jonathansadowski @vedanshujain

barryhughes avatar Jun 18 '21 15:06 barryhughes

Closing, since #634 was merged some time back and should avoid the core issue of actions being inadvertently processed ahead of schedule.

barryhughes avatar Dec 21 '22 22:12 barryhughes