What is the difference between consistent hash and hash slot?

read the algorithms of consistent hash and hash slot and articles on the network that introduce them both. It is said that consistent hash needs less data to migrate than traditional hash when deleting node or and adding nodes. There is no problem here.
however, the article also said that, hash slot can be seamlessly migrated in the face of deleting nodes or and adding nodes. I don"t understand that when, hash slot deletes nodes and or adds nodes, the corresponding hash slots have to be migrated to other server nodes. This is the same problem that consistent hash faces. How can hash slot be seamlessly switched without affecting client access?


https://www.cnblogs.com/abc-b.


Yes, you are right. In fact, when hash slot dynamically adds and deletes nodes, it also needs to do data migration on server

.
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-1c132cb-32e45.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-1c132cb-32e45.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?