8000 cache.system pool useless in warmup · Issue #29601 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
cache.system pool useless in warmup #29601
Closed
@jderusse

Description

@jderusse

Symfony version(s) affected: 4.2

Description

Since #28805 the cache.system uses APCu (when available) which make use of cache warmup in build stage (ie. in a CI) totally useless.
Previous implementation fallbacks to FileSystem

How to reproduce

  • Inject the cache.system pool in a cache CacheWarmer service.
  • Warmup the cache
  • Freeze the application (docker build or whatever)
  • Start/Restart the application
  • => the cache is cold

Possible Solution

Shouldn't we use the ChainAdapter(apc, fs) like in 4.1?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0