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

Invalid argument when hmset #662

Closed
xgu89 opened this issue Feb 10, 2022 · 1 comment
Closed

Invalid argument when hmset #662

xgu89 opened this issue Feb 10, 2022 · 1 comment

Comments

@xgu89
Copy link

xgu89 commented Feb 10, 2022

When I want to hmset a large field and value to redis via twemproxy, it comes out, the length of my data is more than 70000.

Traceback (most recent call last): File "/Users/xgu/code/etl-airflow/dags/utils/redis/test_redis.py", line 54, in <module> redisUtil.hmset("50011_20220210034211", values, 1, 1) File "/Users/xgu/code/etl-airflow/dags/utils/redis/redis_util.py", line 51, in hmset redis_tool.hmset(key, values) File "/Library/Python/3.8/site-packages/redis/client.py", line 3075, in hmset return self.execute_command('HMSET', name, *items) File "/Library/Python/3.8/site-packages/redis/client.py", line 901, in execute_command return self.parse_response(conn, command_name, **options) File "/Library/Python/3.8/site-packages/redis/client.py", line 915, in parse_response response = connection.read_response() File "/Library/Python/3.8/site-packages/redis/connection.py", line 756, in read_response raise response redis.exceptions.ResponseError: Invalid argument

@yuerugou54
Copy link

yuerugou54 commented Feb 10, 2022 via email

@xgu89 xgu89 closed this as completed Feb 11, 2022
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

2 participants