8000 Support predis 2.* on cache RedisAdapter · Issue #49238 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Support predis 2.* on cache RedisAdapter #49238
Closed
@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

      0