Problem/Motivation

Memcache doesn't actually flush the cache when there is a cache clear all. Because of this and a bug in the code, there are times old cached items are returned even after a `drush cc all`.

Thanks to @fabianx for tracking this down.

Issue fork memcache-3264313

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jeremy created an issue. See original summary.

Fabianx’s picture

Title: do not return cached items after a cache flush » Do not return cached items after a cache flush, fix bug in stampedeProtection always returning expired items
Priority: Major » Critical
Status: Active » Reviewed & tested by the community

This also can lead to cache_field never being cleared due to that being excluded from stampedeProtection and hence always being returned while someone else rebuilds the cache (but no one does as that if-clause is never true).

Hence => Criticial

  • Jeremy committed 57050a2 on 7.x-1.x
    Issue #3264313: do not return cached items after a cache flush
    
Jeremy’s picture

Jeremy’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, Fabian! This will be part of the next release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.