go-redis
go-redis copied to clipboard
del multi keys, cross keys in request don't hash to the same slot
Describe the bug When deleting multi keys in different slots, i got error below: CROSSSLOT KEYS in request don't hash to the same slot
How could i del keys in different slots?Which api is suggested?
Please Help me! Thanks a lot
You must separate operations for keys in different slots.
So group your keys by hashslots, then exec DEL <keys with same hashslot> ...
one by one
This issue is marked stale. It will be closed in 30 days if it is not updated.