Closed (outdated)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2013 at 13:28 UTC
Updated:
15 Apr 2026 at 01:40 UTC
Jump to comment: Most recent
Comments
Comment #1
markpavlitski commented@lambic Can you re-test this using the latest 7.x dev release?
If the issue still occurs, please can you post the following details:
- Your memcache configuration from settings.php
- Which PECL library and version you use
- Your PHP version
Comment #2
lambic commentedYes I get the same issues with the dev release.
Config:
'memcache_servers' => array('localhost:11211' => 'default'),
'memcache_bins' => array(
'cache' => 'default',
'cache_form' => 'database'
),
'cache_backends' => array('sites/all/modules/contrib/memcache/memcache.inc'),
'cache_default_class' => 'MemCacheDrupal',
'cache_class_cache_form' => 'DrupalDatabaseCache',
'memcache_prefix' => 'q7testing',
PHP version 5.4.15, memcache library 3.0.8, memcached 1.4.5
Comment #3
markpavlitski commentedConfirmed in latest 7.x dev
Comment #4
jeremy commentedI'm still seeing 5 failures in the block tests with 7.x-1.1-beta3 memcache enabled, versus 0 failures with memcache disabled.
Comment #5
markpavlitski commentedI'm trying to trace the root cause of this. It's possibly a cross-page/session issue in the cache_clear_all() implementation.
Comment #6
markpavlitski commentedI've not yet been able to recreate it outside of simpletest.
The issue still occurs when only cache_block is mapped to Memcache.
I'll have to come back to this next week.
Confirmed in 1.1-beta4 and latest dev.
Comment #7
basic commentedThese two issues appear to be related and affect drupal.org:
#2125951: Implement hook_node_delete() to clear forum block cache when forum topic is being deleted.
#2147745: Updating book page does not invalidate book nav block Assigned to: basic
Comment #8
jeremy commented@basic are we using 7.x-1.0, or the latest 7.x-1.x-dev, or another version atm on d.o?
Comment #9
basic commentedLooks like we're running
Comment #10
jeremy commentedIs it possible for you to test 7.x-1.1-beta5 and see if the problem persists? (The block test still fails in this -beta, so upgrading may not fix anything, bot LOTS of other fixes have gone in since the version you're running with, and it would be nice to confirm that this is in fact the problem, to properly set the priority of this issue.)
Comment #11
basic commentedI'm working on memcache for Drupal.org staging and dev, we'll need to test there and deploy Wednesday or Thursday when drumm is back.
Comment #12
basic commented7.x-1.1-beta5+1-dev is deployed in production now, but issue #2147745: Updating book page does not invalidate book nav block Assigned to: basic persists. Any ideas?
Comment #13
jeremy commentedI'm trying to carve some time to fix this issue, and then hopefully you can retest.
Comment #14
basic commented@Jeremy
Would it be helpful to get you a drupal.org dev site to test on? I still need to pin down ways to reproduce on dev which may help narrow down the issue. It seems like it may be related to using multiple servers for memcache bins.
Comment #15
jeremy commentedWe'll see first if tracking down and fixing this Simpletest failure solves your problem (in my queue). If not, a dev site may help.
Comment #16
jeremy commentedI've confirmed this failure is not caused by memcache, but the block.test / simpletest. When block.test testCachePerRole() invokes cache_clear_all() core's built-in database cache handler is being called, and thus it's clearing the (already empty) database table not memcache.
More time could be spent making the core block.test compatible with memcache, so I won't close this, but it's no longer a release blocker.
@basic, this is therefor unrelated to your bug, perhaps you can show me here in DrupalCon Austin how to duplicate your issue?
Comment #17
jeremy commentedComment #18
japerryClosing as Drupal 7 is no longer supported.