1 May 2010 21:41
Possible bug when inserting 179366 jobs and then deleting them
Summary: Server returns internal err if we restart, put 179366 jobs, then try to reserve+delete those same jobs. This happens only with - b I hope what follows isn't too much info. Pls. yell if I can be of any assistance. Beanstalkd-1.4.4 with -b If we stop beanstalkd, wipe the binlog folder, restart beanstalkd then run a script that adds 179366 jobs and then run another that reserves and deletes all of those jobs, the last delete returns an INTERNAL ERROR. I see this: "/tmp/beanstalkd-1.4.4/beanstalkd: binlog.c:473 in binlog_write_job: failed to use next binlog" . Prot.c:1302 returns the err ( r == 0 ) pheanstalk throws an exception. It takes at least that many jobs (on this linux machine) ; adding and then deleting 179365 jobs doesnt seeem to do it. The 179366th job does seem to get erased. We invoke beanstalkd like this beanstalkd -l 74.54.253.178 -p 11300 -b /tmp/beanstalkd.binlogs/ the PUSH script that adds the jobs to the test tube: <?php(Continue reading)
RSS Feed