what will happen if the data is read and written during reshard without downtime?
what will happen if the data is read and written during reshard without downtime?
No downtime is required. Redis introduces the concept of hash slot . The data is associated with the hash slot, and the hash slot is associated with the master node, thus ensuring that the data is not directly bound to the node. Based on this rule:
1. After adding the master node, you must manually assign hash slots to the new node before you can store data normally;
2. Before deleting the master node, you should manually migrate the data on the master node to ensure that the master node has no data before it can be deleted.
A brief description. For more information, please refer to redis Cluster
.SOSOSOSOSOSOSOSOSOSOS urgent I cleared key on the client side using flushdb and flushall had no effect had no effect before it suddenly had no effect, then it had no effect after flushdb redis ...
recently, I want to use Java spring to connect to the redis cluster, but I can t find the official teaching documents of redis cluster on the Internet. I m still confused about configuring redis cluster for spring. ...