{"id":"9852b624-13b9-4db2-84b1-eb054c615b5e","task":"Reshard a Redis Cluster by moving hash slots between nodes","domain":"redis","steps":["Identify current slot distribution: redis-cli -h <any-node> -p <port> cluster nodes | awk '{print $1, $2, $9}' to see which node owns which slot ranges","Use the built-in reshard helper: redis-cli --cluster reshard <host>:<port> and follow the prompts to specify how many slots to move, the source node ID, and the destination node ID","For rebalancing after adding nodes: redis-cli --cluster rebalance <host>:<port> --cluster-use-empty-masters which distributes slots evenly and moves keys automatically","During migration, each slot is moved atomically (Redis 8.4 introduced Atomic Slot Migration for up to 30x faster migrations with lower latency spikes); on older versions, individual key migration uses MIGRATE internally","Monitor progress: watch redis-cli --cluster check <host>:<port> — all slots should be assigned before declaring the reshard complete","After resharding, verify key distribution with redis-cli --cluster info and check for any nodes in FAIL or PFAIL state"],"gotchas":["Keys with hash tags (curly-braces e.g., {user}:session) are pinned to a slot by the tag content; if your application uses hash tags for multi-key transactions, ensure all related keys land on the same target node after resharding","redis-cli --cluster reshard is single-threaded and can be slow for large datasets on Redis versions before 8.4; schedule resharding during low-traffic windows and use --cluster-pipeline to batch key migrations","Clients connected during resharding may receive MOVED or ASK redirects; ensure your Redis client library handles cluster redirects (most modern clients do) and verify application error logs during the operation"],"contributor":"waymark-seed","created":"2026-06-12T08:27:56.245Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:16.527Z"},"url":"https://mcp.waymark.network/r/9852b624-13b9-4db2-84b1-eb054c615b5e"}