-
Notifications
You must be signed in to change notification settings - Fork 143
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
KEYS should be possible #148
Comments
Altogether.You send a simple command 10.10.99.21:6379
10.10.99.25:6393
So you must take all the cursors as parameters to proxy to fetch next page. Command like Oh it's complicated. One Backend Each TimeIt will be better. But it also need to specify the backend and cursor together to do scanning. ScenarioIn most scenarios that you need So what's your scenario here? |
Hey, thanks for your time. There's a big possibility here that I am doing or thinking wrong due to lack of knowledge to details or inner workings. But my understanding of the sense of a proxy in that case would be the simulating the returns of a single redis instance. Maybe I am missing something completely, or there's a better way of doing it |
That depends. KEYSThe command SCANFirst let's go to the difference:
So implementing it is complicated. ScenarioSo we need turn back to the scenario we meet. If it's a common logic we should turn to other implementation. (Change the logic) But if you for some operations' reason (eg. Deleting some keys set wrong, thus, a repair after suffering a wrong logic) you can write a script to walk the cluster manually.(Bypass the proxy) Does it help? |
|
From my perspective, the limitation of not being able to get all
KEYS
is a total dealbreaker.Being sure, that this is only a design limitation made willingly, I want to ask politely if you really don't see any chance of implementing this anyhow.
Technically, it's just that all cluster nodes have to be
SCAN
from corvus and responded to the client just as if it was one single instance. This may be slower, but better than not available.Since
SCAN
is also not supported, there seems to be no alternative for getting all keys in a cluster.Is there any technical reason why this can't be done?
The text was updated successfully, but these errors were encountered: