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

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

Scenarios

When multi-key commands are executed in a GeminiDB Redis instance, "CROSSLOT 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