MGET behavior when Redis cluster is performing resharding (hashslot rebalancing) #2148
Unanswered
ExploreNcrack
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @mp911de , wondering what would be the expected behavior for Lettuce RedisClusterClient MGET command when some of the keys' hashslot is in
MIGRATING
state (in middle of hash slot migration) during cluster resharding (and ifMOVED
redirection is return)? Will Lettuce fail all of the get in that case? Or will Lettuce handle the redirection and still able to process those gets? Will Lettuce get a CROSSSLOT error?And how about for the case that, some of the key from the keyslot has migrated to the destination node while the other keys in that slot are still remain on the original node? How will Lettuce redis cluster client handle the MGET in that case?
Beta Was this translation helpful? Give feedback.
All reactions