function memcached_behavior_set_distribution()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
Fix Released
|
Medium
|
Brian Aker |
Bug Description
memcached_return_t memcached_
{
if (type < MEMCACHED_
{
if (MEMCACHED_
{
ptr-
}
else
{
ptr-
}
ptr-
return run_distributio
}
return memcached_
}
should if (MEMCACHED_
be if (type == MEMCACHED_
Hi,
On Jun 6, 2012, at 2:27 PM, ping,cai wrote:
> if (MEMCACHED_ DISTRIBUTION_ CONSISTENT_ WEIGHTED) // is here wrong??
All weights are set to be the same by default, so while the above is a bug,… behavior is identical.
Cheers,
-Brian