• If i do a get then a incr or decr followed by another get then I get the old value of the cache and not the new incremented or decremented value.

    A get pulls its value for its running store rather than going to apc if it has already got the value. But when you do an increment you update apc but don’t update your running store. So a get afterwards then ends up not returning the new value.

    https://www.ads-software.com/plugins/apc/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug in incr and decr functions’ is closed to new replies.