[patch] Retry timeout should be allowed to be zero
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
Fix Committed
|
Wishlist
|
Brian Aker |
Bug Description
Immediate reconnection after a failure is a reasonable policy, especially in cases where there is only one memcached server. We use twemproxy, so our PHP clients typically have only one server configured. So, libmemcached should allow MEMCACHED_
Since the retry timeout is causing tens of failures per second for us, root cause unknown, we are planning on deploying this patch immediately as a workaround. See https:/
The patch simply wraps the section of memcached_
if (server-
and allows it to be set to zero in behavior.cc
Related branches
- Tangent Trunk: Pending requested
- Diff: 0 lines
Changed in libmemcached: | |
milestone: | none → 1.0.18 |
importance: | Undecided → Medium |
status: | New → In Progress |
importance: | Medium → Wishlist |
Changed in libmemcached: | |
status: | In Progress → Fix Committed |
You can set it to -1, it should work too