libmysql persistent queue not working

Asked by Alex Vaccaro on 2013-04-16

Hi Gearman wizards,

I am trying to set up the persistent queue module based off libmysql.

I think I have everything installed correctly, at least to the point where gearmand launches, and actually creates a table in my database with the proper columns. However, nothing appears to be actually stored in that table; i've tried killing gearman server, sending one worker tons of jobs, nothing seems to trigger a harden.

Thanks so much!

Question information

English Edit question
Gearman Edit question
No assignee Edit question
Solved by:
Alex Vaccaro
Last query:
Last reply:
Alex Vaccaro (avaccaro-k) said : #1

BTW -- I've been looking at my logs and a grep for MySQL yields;

$ less gearman.log | grep MySQL
   INFO 2013-04-16 22:34:02.672295 [ main ] Initializing MySQL module
   INFO 2013-04-16 22:34:02.678910 [ main ] MySQL queue replay
  DEBUG 2013-04-16 22:37:26.416952 [ main ] MySQL queue flush -> libgearman-server/plugins/queue/mysql/

it seems that the function calls are never being made to add data to the persistent queue table?

Alex Vaccaro (avaccaro-k) said : #2

Actually, this is dumb. Persistent queues are for background jobs. Sorry.