Use-Case:
Question:
Does the gearmand work without the persistence in this moment (MySQL) and catch up later?
Answer
No.
Details
/usr/local/sbin/gearmand -q mysql --mysql-user user1 --mysql-password pass1 --mysql-db gearmand
Scenario #1
Scenario:
Result:
Scenario #2
Scenario:
Result:
gearmand output:
mysql_stmt_prepare failed: Can't connect to local MySQL server through socket X
PHP script output:
PHP Warning: GearmanClient::doBackground(): gearman_client_run_tasks:QUEUE_ERROR:QUEUE_ERROR
Unfortunately, with my test scenarios, the gearmand stops work if the mysql persistence layer is unavailable.