disabling memcached enable and reenabling it no longer increment the memcached prefix
Bug #389652 reported by
MadMatt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WaffleGrid |
Fix Committed
|
Medium
|
Yves Trudeau |
Bug Description
If I dynamically switch memcached modes ( changing enable from 1 to 0, 0 to 1, 1 to 2, 2 to 0 ) the memcached prefix is not increasing like it should.
Changed in wafflegrid: | |
status: | New → Confirmed |
Changed in wafflegrid: | |
importance: | Undecided → Medium |
To post a comment you must log in.
The code has never been design to handle values other than 0 or 1. For sure, transition from 1 to 2 and 2 to 1 should fail to update the prefix. Inside the code, the change of value is handle by:
if ( !srv_memcached_ enable ) {
This is less than adequate, I will implement a handler for the variable like innodb_ memcached_ servers.