- Issue created by @berdir
- 🇨🇭Switzerland berdir Switzerland
This can happen if \Drupal\Core\Cache\ChainedFastBackendFactory::get() bypasses the fast chained backend and just returns the consistent one directly.
That should only happen during the installer or if apcu_fetch isn't defined, implying different extensions for CLI and webserver.
The safe thing to do is to always update/delete the last write timestamp explicitly in that case.
- 🇨🇭Switzerland berdir Switzerland
Created a test but I'm still unsure about this scenario, something else might have been off when I've been running into this problem.
Obviously, any write or delete directly on the consistent backend would not update the fast backend correctly, so I'm not sure this is worth fixing.
Setting to postponed for see if anyone else runs into this.