Current revision of node is not correct

Created on 24 June 2023, over 1 year ago
Updated 15 May 2024, 6 months ago

Problem/Motivation

Current revision of node is the old one in stead of the latest revision.

Our site is using memcache on aws server and has a cron job service that goes through all the nodes and update them if needed, we clearly set the default revision is that latest one but it is still showing the old one as current revision.

If we clear the cache but clicking on the Clear All Caches button (/admin/config/development/performance) then the current revision is showing correctly. However if we execute drush cr or drush ev 'drupal_flush_all_caches();' the current revision is still old.

Here is our setting

$settings['memcache']['bins']['render']     = 'node001';
      $settings['memcache']['bins']['data']       = 'node001';
      $settings['memcache']['bins']['discovery']  = 'node001';
      $settings['memcache']['bins']['config']     = 'node002';
      $settings['memcache']['bins']['entity']     = 'node002';
      $settings['memcache']['bins']['static']     = 'node002';

Do you any ideas why it is happening? why hitting the Clear All Caches button works but drush command doesn't? Am I configuring the memcache bins not properly? Thanks alot for your support.

πŸ’¬ Support request
Status

Postponed: needs info

Version

2.5

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hungdo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024