CurrentBehavior An error occurs when attempting to perform an operation on multiple keys belonging to different slots in a transaction --- EXEC ABORTED
multi-key operation was rejected (involving keys in multiple slots)

Expected behavior When executing transactions in a Redis cluster, the expectation is to be able to successfully execute transactions that only involve a single slot key. For transactions that span multiple slots, Redis should provide a mechanism to allow users to perform such operations, or at least provide clearer prompts and guidance on how to avoid cross slot transactions or how to handle them correctly.

Comment From: zuiderkwast

How can you be sure the keys are on the same cluster node if they are on different slots?

See also #6794.

Comment From: madolson

Yeah, we have no plans of addressing this (at least for the time being). Cross slot transactions are hard.