Help Center/ GeminiDB/ GeminiDB Redis API/ FAQs/ Database Usage/ What Should I Do If Error " CROSSSLOT Keys in request don't hash to the same slot" Is Displayed?
Updated on 2025-12-19 GMT+08:00

What Should I Do If Error " CROSSSLOT Keys in request don't hash to the same slot" Is Displayed?

Scenarios

When multi-key commands are executed on a GeminiDB Redis instance, "CROSSSLOT Keys in request don't hash to the same slot" may be reported.

Possible Causes

Commands involving multiple keys were executed across slots in a GeminiDB Redis cluster instance. For example, EVAL and BRPOPLPUSH were executed across slots.

Solution