Skip to content

Redis Distributed CacheKeyRetriever not returning set on keys command #136

@toddb

Description

@toddb

The distributed cache retriever does not (appear to) return store keys in the current implementation (for the versions that I am running).

I can't work out the purpose of the "pattern: " in the expression and have looked through to the RedisValue. I can confirm that removing the "pattern" prefix then allows the keys command to work.

line 49

RedisValue valueToMatchWithRedisPattern = ignoreCase ? $"pattern: {valueToMatch.ToLower()}" : $"pattern: {valueToMatch}";

Redis: 7.2.1
StackExchangeRedis: 2.7.27
I have configured up the connection via IConnectionMultiplexer

Relates to #112

If this is too scant, let me know and I can provide more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions