Merge lp:gearmand into lp:~1-infe-w/gearmand/gearmand
Status: | Needs review |
---|---|
Proposed branch: | lp:gearmand |
Merge into: | lp:~1-infe-w/gearmand/gearmand |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:gearmand |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
palik | Pending | ||
Review via email:
|
Description of the change
Bug fixing for issue
https:/
1. assert(unique_size) in callback_loader avoids gearmand restart if unique key doesn't exists in memcached_
2. MEMCACHED_NOTFOUND in LibmemcachedQue
done(QUEUE_ERROR) -> libgearman-
Remove from persistent queue gearman_
to reproduce:
- create X background jobs without unique keys
- stop gearmand
- start gearmad (!!!BTW only one job will be restored!!!)
- again create X background jobs without unique keys
- start worker(s)
assuming after gearmand was restarted
- one job was restored
- ten new jobs was created
- worker done all 11 job
- gearmanadmin --status shows continuously:
foo 10 0 0
palik (1-infe-w) wrote : | # |
I have to correct myself.
- gearmanadmin --status shows continuously:
foo 10 10 1