This has no impact on a running system. However, running php -f registry_rebuild.php on a system I got a "Cannot redeclare" lock_... function error.

grep -nri "function lock_initialize" *
includes/lock.inc:67:function lock_initialize() {
sites/all/modules/contrib/memcache/memcache-lock-code.inc:15:function lock_initialize() {

 grep -nri "function lock_" memcache-lock-code.inc
memcache-lock-code.inc:15:function lock_initialize() {
memcache-lock-code.inc:32:function lock_acquire($name, $timeout = 30) {
memcache-lock-code.inc:66:function lock_may_be_available($name) {
memcache-lock-code.inc:87:function lock_wait($name, $delay = 30) {
memcache-lock-code.inc:133:function lock_release($name) {
memcache-lock-code.inc:159:function lock_release_all($lock_id = NULL) {
grep -nri "function _lock" memcache-lock-code.inc
memcache-lock-code.inc:146:function _lock_id() {

Comments

chaunceyt created an issue. See original summary.

jeremy’s picture

Status: Active » Fixed

Memcache is correctly re-declaring all lock functions, as expected by Drupal's API's. This suggests your memcache installation is misconfigured. Please review the README that comes with the module.

I can confirm that running 'drush rr' with memcache locking enabled correctly works without problems:

[jandrews@memcache /var/www/html/sites/all/modules/memcache]$ drush rr
The registry has been rebuilt via registry_rebuild (A).              [success]
The registry has been rebuilt via registry_rebuild (A2).             [success]
All caches have been cleared with drush_registry_rebuild_cc_all.     [success]
The registry has been rebuilt via drush_registry_rebuild_cc_all (B). [success]
All caches have been cleared with drush_registry_rebuild_cc_all.     [success]
All registry rebuilds have been completed.                           [success]

Status: Fixed » Closed (fixed)

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