- πͺπΈSpain facine
@deviantintegral, I solved this other issue with π After enabling Redis, old cache tables remain populated Active
/** * Implements hook_rebuild(). * * @see https://www.drupal.org/project/redis/issues/3177375 */ function hook_rebuild() { // When redis is enabled, old cache tables are not truncated. if (!extension_loaded('redis')) { return; } $database = Drupal::database(); $schema = $database->schema(); foreach (Cache::getBins() as $name => $bin) { if (!$bin instanceof DatabaseBackend && $schema->tableExists('cache_' . $name)) { $database->truncate('cache_' . $name)->execute(); } } if (!\Drupal::service('cache_tags.invalidator.checksum') instanceof DatabaseCacheTagsChecksum && $schema->tableExists('cachetags')) { $database->truncate('cachetags')->execute(); } }