Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support predis 2.* on cache RedisAdapter #49238

Copy link
Copy link
Closed
@acelaya

Description

@acelaya
Issue body actions

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.Issues 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.