dotnetcore / EasyCaching

:boom: EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!
MIT License
1.95k stars 322 forks source link

Refactor SERedis.BaseSetAll to set all values at once #395

Open FatemehFattahi opened 2 years ago

FatemehFattahi commented 2 years ago

Refactor SERedis.BaseSetAll to set all values at once

MoienTajik commented 2 years ago

Does this exception happened in current unit-tests? How can we reproduce that?

catcherwong commented 2 years ago

Yes.

  1. Running redis in cluster mode, https://redis.io/docs/manual/scaling/
  2. Modify the endpoints of redis in RedisCachingProviderTest.cs
  3. Run unit-tests of SetAll/SetAllAsync methods
keshavkaul commented 1 year ago

@catcherwong I get the above Multi Key error when I use GetByPrefix API. I'm using redis in cluster mode.

keshavkaul commented 1 year ago

@catcherwong Could you provide an alternative for GetByPrefix for redis in cluster mode?