Skip to content
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

why keys command not working with proxy. #50

Open
sagaraspl opened this issue Oct 1, 2018 · 5 comments
Open

why keys command not working with proxy. #50

sagaraspl opened this issue Oct 1, 2018 · 5 comments

Comments

@sagaraspl
Copy link

sagaraspl commented Oct 1, 2018

When I am trying keys , keys * it is not finding keys from cluster.

127.0.0.1:7000> keys *
(error) ERR unknown command 'keys'

@fortrue
Copy link
Member

fortrue commented Oct 3, 2018

KEYS is very dangerous, avoid to use it, use SCAN to replace it.

@sagaraspl
Copy link
Author

sagaraspl commented Oct 4, 2018

Hi @fortrue thanks for update, we have tried to use SCAN and we are using KEYS with care and PATTER with KEYS so it shouldn't be a big issue but SCAN seems to have too slow in production.

@kalpanathanneeru
Copy link

Hi, even cluster command also not working
127.0.0.1:7617> cluster nodes
ERR unknown command 'cluster'
Any idea to support

@BonjourGit
Copy link

Hi, even cluster command also not working
127.0.0.1:7617> cluster nodes
ERR unknown command 'cluster'
Any idea to support

"cluster" is a Predixy inner command.
Inner commands are not added to command map for client command validation and are not recognized.
Refer to Command::init().

@kalpanathanneeru
Copy link

Thanks for update..
But java redis cluster client trying to execute cluster nodes/cluster info to verify is redis in standalone or cluster mode while connecting to cluster mode redis server through predixy proxy.
then predixy is throwing error like ERR unknown command 'cluster'.
Is there any way we can solve this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants