antirez / disque

Disque is a distributed message broker
BSD 3-Clause "New" or "Revised" License
8.01k stars 538 forks source link

WHY IT LOST JOBS? #203

Open chchleung opened 7 years ago

chchleung commented 7 years ago

I just have run a spider program and the first script will add many jobs into the queue, then the other two same scripts will get job from the same queue continually. However, when I check the QSTAT of the queue ,it shows job-in not equal to job-out since the QLEN is 0. Why / How this situation come out? It may be dangerous. And later queue info is nil since the queue length is 0. Here is the infomation I copy from disque-cli:

disque_problem

chchleung commented 7 years ago

OK i know the reason now..my misunderstand before...

gfYaya commented 6 years ago

Did you addjob with little time as you input the "RETRY" parameter? @chchleung