You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when the node A is migrate the slot 1 to node B. and the key of "book" is in slot 1. but the "book" is transmitting to B(but not yet to B). when one client of A send "set book redis" command to node A. how node A deal with this command? A return to client "ASK" error and redirect it to node B? but now, the key is in transmitting, it is not arrival B yet. when client send to node B "set book redis"(after send asking to B), how node B deal with this command?
Currently all migration is user-initiated. The cluster itself doesn't migrate anything, it just fails over entire master nodes to their replicas. During normal operations, slots do not migrate.
@hzkltt keys in slot are migrated to another node one by one (using MIGRATE command), so there're no MIGRATING state in individual key's point of view when Redis processes your command.
It's migrated or not.
Activity
mattsta commentedon Nov 19, 2014
Individual slots can be migrated using redis-trib.rb with the
move_slotfunction: https://github.com/antirez/redis/blob/unstable/src/redis-trib.rb#L764-L809Currently all migration is user-initiated. The cluster itself doesn't migrate anything, it just fails over entire master nodes to their replicas. During normal operations, slots do not migrate.
hzkltt commentedon Nov 19, 2014
it means that we should make sure there is no client operation to the key of the slots which is in migrating(initial by ourself),right?
HeartSaVioR commentedon Nov 20, 2014
@hzkltt keys in slot are migrated to another node one by one (using MIGRATE command), so there're no MIGRATING state in individual key's point of view when Redis processes your command.
It's migrated or not.
Update RedisTimeSeries to version 8.11.90 (#15969)