Skip to content

Redis List Commands timeout interpreted as key #48585

@gkubes

Description

@gkubes

Describe the bug

When trying to use ReactiveListCommands to perform blpop (listCmds.blpop(Duration.ofSeconds(5), "my-list")) with a timeout of 5 seconds using a Redis Cluster, an error is received stating:

Keys of command or batch: "*4
$5
blpop
$1
5
$31
my-list
$1
5
" targets not all in the same hash slot (CROSSSLOT) and client side resharding is not supported

According to https://redis.io/docs/latest/commands/blpop/, the command should be blpop my-list 5 however the quarkus client is generating blpop 5 my-list 5

Expected behavior

I expect to receive contents on my-list via blpop my-list 5

Actual behavior

Keys of command or batch: "*4
$5
blpop
$1
5
$31
my-list
$1
5
" targets not all in the same hash slot (CROSSSLOT) and client side resharding is not supported

How to Reproduce?

No response

Output of uname -a or ver

Darwin AM-M0H4Q2KR70 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:53:27 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6041 arm64 arm Darwin

Output of java -version

openjdk version "21.0.6" 2025-01-21 LTS

Quarkus version or git rev

3.23.4

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions