The solution of data operation error moved with redis cli
Examples of error reporting:
(base) wdh@wdh:~$ redis-cli -h 172.17.0.1 -p 6391
172.17.0.1:6391> get name
(error) MOVED 5798 172.100.0.1:6392
172.17.0.1:6391>
Cause of error:
No cluster mode connection (connection node command does not add – C parameter)
terms of settlement:
Connect redis cluster nodes with – C parameter: redis cli – C – H 172.17.0.1 – P 6391
(base) wdh@wdh:~$ redis-cli -c -h 172.17.0.1 -p 6391
172.17.0.1:6391> get name
-> Redirected to slot [5798] located at 172.100.0.1:6392
(nil)
172.100.0.1:6392> set name 1
OK
172.100.0.1:6392> get name
"1"
172.100.0.1:6392>
Read More:
- How to Solve Redis Cluster Build Error
- Spring Connect Redis Error: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MOVED 12910 172.16.4.99:6379
- Redis Cluster Error: (error) CLUSTERDOWN Hash slot not served
- How to Solve kubelet starts error (k8s Cluster Restarted)
- [Solved] Redis Execute redis-cli shutdown Error: (error) ERR Errors trying to SHUTDOWN. Check logs.
- How to Solve Docker Error: elasticsearch exception: type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
- [Solved] Redis—-(error) MISCONF Redis is configured to save RDB snapshots
- Redis cannot double-click redis-server.exe to start normally
- [Solved] Error in integrating redis with springboot: unable to connect to redis
- [Solved] Redis Cache Error: org.springframework.data.redis.serializer.SerializationException: Could not read JSON..
- Error reported when springboot connects to redis nested exception is redis.clients.jedis . exceptions.JedisConnectionException
- How to Solve Hmaster hangs up issue due to namenode switching in Ha mode
- Redis Exception | DENIED Redis is running in protected mode because protected mode is enabled
- [Solved] (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- UnknownHostException error when connecting to Mongo cluster Java
- How to Solve “Error db.num is null” when starting Nacos
- [Solved] redis.exceptions.ResponseError: unknown command `KEYS`
- How to Solve elasticSearch8.1.2 Install Error in Win10
- [Solved] Mac starts redis error: there is no specified conf file
- [Solved] Redis Startup Error: FATAL CONFIG FILE ERROR