Skip to content

Support predis 2.* on cache RedisAdapter #49238

@acelaya

Description

@acelaya

Description

I was investigating an issue reported to a project where I use predis 2 together with symfony/cache. It was pretty hard to debug as it involved redis sentinels, which is complex to set-up.

After a lot of debugging I have found that the root cause was already reported and supposedly solved some years ago. However, it seemed to be back.

After checking the RedisTrait, I have realized the problem is that all the conditions implemented there are valid for predis 1, but some namespaces have changed in predis 2, which makes those conditions never properly trigger.

I think it shouldn't be super hard to support both versions. If there's a desire to support predis 2, I can try to give it a try and see how it goes.

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CacheFeatureHelp wantedIssues and PRs which are looking for volunteers to complete them.Keep open

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy