imperugo / StackExchange.Redis.Extensions

MIT License
610 stars 178 forks source link

SearchKeysAsync - System.MissingMethodException: Method not found: 'Boolean StackExchange.Redis.IServer.get_IsReplica()'. #334

Open penihel opened 4 years ago

penihel commented 4 years ago

Describe the bug Error when i call SearchKeysAsync

System.MissingMethodException: Method not found: 'Boolean StackExchange.Redis.IServer.get_IsReplica()'.
   em StackExchange.Redis.Extensions.Core.ServerIteration.ServerEnumerable.<GetEnumerator>d__4.MoveNext()
   em System.Linq.Enumerable.<TakeIterator>d__25`1.MoveNext()
   em System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   em System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   em StackExchange.Redis.Extensions.Core.Implementations.RedisDatabase.<SearchKeysAsync>d__38.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Implanta.Caching.DistributedCacheProvider.RemoveAllPrefix(String prefixKey) na D:\a\1\s\src\Implanta.Caching\src\DistributedCacheProvider.cs:linha 198

Desktop

imperugo commented 3 years ago

Hi, I'm unable to reproduce it. Do you have more information? a unit test that reproduce the issue?

Moreover the method get_IsReplica is not mine but it came from the main library StackExchange.Redis