-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server.Keys() call hangs #259
Comments
What server version is this, and how many keys to you have? On down-level
|
The thought occurs that if the server version is the problem, I should
|
The server version is 2.8. I look at the IEnumerable returned, and it looks like it's using SCAN, because the values are not populated until I start iterating it. The administration commands are enabled. does it make sense? |
@deepaknc which version of the library are you on, and can you try latest? The current code will automatically use the most efficient version to do a keys enumeration. |
I ran into this same problem and found this issue, so I thought I'd respond for those who might come looking: In a database with 11 million keys, the |
I have this code snippet on LinqPad
This just hangs in the Keys call, and never returns back. The cache is quite responsive, and I'm able to make similar request from the redis-py python client library, which leads me to believe that it's the StackExchange client library which is the culprit.
The text was updated successfully, but these errors were encountered: