disabling memcached enable and reenabling it no longer increment the memcached prefix

Bug #389652 reported by MadMatt
6
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.

MadMatt (yonkovim)
Changed in wafflegrid:
status: New → Confirmed
Revision history for this message
Yves Trudeau (y-trudeau) wrote :

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.

Changed in wafflegrid:
assignee: nobody → Yves Trudeau (y-trudeau)
Yves Trudeau (y-trudeau)
Changed in wafflegrid:
importance: Undecided → Medium
Revision history for this message
Yves Trudeau (y-trudeau) wrote :

Corrected in version 2866 of branch lp:~y-trudeau/wafflegrid/cream-5.4-tree.

Changed in wafflegrid:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.