Does redis cluster need to stop when adding or deleting nodes?

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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e43d19-441f1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e43d19-441f1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?