StackExchange.Redis.Extensions icon indicating copy to clipboard operation
StackExchange.Redis.Extensions copied to clipboard

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

Open penihel opened this issue 4 years ago • 1 comments

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

  • OS: Windows
  • Runtime version : .NET Framework,
  • Version: 6.3.5
  • Server: Azure Cache Redis

penihel avatar Oct 08 '20 22:10 penihel

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

imperugo avatar Jun 25 '21 12:06 imperugo