HttpCacheHeaders icon indicating copy to clipboard operation
HttpCacheHeaders copied to clipboard

Redis Distributed CacheKeyRetriever not returning set on keys command

Open toddb opened this issue 1 year ago • 1 comments

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.

toddb avatar Mar 03 '24 21:03 toddb

@SeanFarrow , do you happen to have an idea / input? Thanks!

KevinDockx avatar Mar 06 '24 15:03 KevinDockx