When I try to delete a buried job, I get a "NOT_FOUND" error. However
the stats/peek commands both do not show the deleted job indicating
that the job was indeed deleted.
The protocol document (found at: http://github.com/kr/beanstalkd/blob/v1.3/doc/protocol.txt?raw=true)
is a bit ambiguous about what exactly happens when you delete a buried
job:
In one place it says:
The delete command removes a job from the server entirely. It is
normally used
by the client when the job has successfully run to completion. A
client can
delete jobs that it has reserved, ready jobs, and jobs that are
buried. The
delete command looks like this:
At another while describing the NOT_FOUND response for delete it says:
- "NOT_FOUND\r\n" if the job does not exist or is not either reserved
by the
client, ready, or buried. This could happen if the job timed out
before the
client sent the delete command.
Can someone help with this?
Thank you
Yes, you can delete buried jobs. If you get NOT_FOUND, it means the
job was already deleted before you tried to delete it.
> The protocol document (found at: http://github.com/kr/beanstalkd/blob/v1.3/doc/protocol.txt?raw=true)
> is a bit ambiguous about what exactly happens when you delete a buried
> job:
I'd welcome suggestions to improve the wording. I admit it might not
be as clear as it could, but I believe it's consistent.
kr
Thanks - thats clear now. I believe I was not deleting it, but will
check and report.
> I'd welcome suggestions to improve the wording. I admit it might not
> be as clear as it could, but I believe it's consistent.
Will give it a shot.
Thanks once again