libmysql persistent queue not working

Asked by Alex Vaccaro

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

Language:
English Edit question
Status:
Solved
For:
Gearman Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Vaccaro
Solved:
Last query:
Last reply:
Revision history for this message
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/queue.cc:370

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

Revision history for this message
Alex Vaccaro (avaccaro-k) said :
#2

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