SCAN throwing an exception unless I use a very small window. #444
Unanswered
rdietrich-clearstreet
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting this exception, and I can't tell if it is a configuration issue or a code issue:
This error points to this comment (very polite!):
I have 100k keys in my garnet instance. I use a redis client that uses SCAN on bootup to download the keys. I figured out if I lowered my SCAN value all the way down to 10k per SCAN it works. The only problem is, I plan on having millions of keys, so scanning 10k at a time is going to be pretty slow.
I've been digging through the source code looking for either code or configuration that determines the response buffer size. I would like to increase this buffer massively so I can not worry about this. I did try using
ObjectScanCountLimit
, but it didn't seem to internally limit the request (I had my SCAN count in my client set to 100,000).Any help on changing the configuration or forcing the response buffer to be larger would be helpful.
This is my current configuration:
Beta Was this translation helpful? Give feedback.
All reactions