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

redis-memory-for-key not work for redis cluster #190

Open
awaken233 opened this issue Dec 13, 2022 · 2 comments
Open

redis-memory-for-key not work for redis cluster #190

awaken233 opened this issue Dec 13, 2022 · 2 comments

Comments

@awaken233
Copy link

Traceback (most recent call last):
File "/opt/homebrew/bin/redis-memory-for-key", line 8, in
sys.exit(main())
File "/opt/homebrew/lib/python3.10/site-packages/rdbtools/cli/redis_memory_for_key.py", line 42, in main
print_memory_for_key(redis_key, host=options.host, port=options.port,
File "/opt/homebrew/lib/python3.10/site-packages/rdbtools/cli/redis_memory_for_key.py", line 53, in print_memory_for_key
raw_dump = redis.execute_command('dump', key)
File "/Users/evtok/Library/Python/3.10/lib/python/site-packages/redis/client.py", line 901, in execute_command
return self.parse_response(conn, command_name, **options)
File "/Users/evtok/Library/Python/3.10/lib/python/site-packages/redis/client.py", line 915, in parse_response
response = connection.read_response()
File "/Users/evtok/Library/Python/3.10/lib/python/site-packages/redis/connection.py", line 756, in read_response
raise response
redis.exceptions.ResponseError: MOVED 8829 192.168.18.172:6379

@ChenWei-XiaoYi
Copy link

ChenWei-XiaoYi commented Dec 13, 2022 via email

@smilyFw
Copy link

smilyFw commented Dec 13, 2022 via email

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

3 participants