predixy icon indicating copy to clipboard operation
predixy copied to clipboard

why keys command not working with proxy.

Open sagaraspl opened this issue 6 years ago • 5 comments

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

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

sagaraspl avatar Oct 01 '18 11:10 sagaraspl

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

fortrue avatar Oct 03 '18 14:10 fortrue

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.

sagaraspl avatar Oct 04 '18 05:10 sagaraspl

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

kalpanathanneeru avatar Aug 06 '20 22:08 kalpanathanneeru

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().

BonjourGit avatar Aug 07 '20 04:08 BonjourGit

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

kalpanathanneeru avatar Aug 07 '20 05:08 kalpanathanneeru