tencent cloud

List Group
Last updated:2025-12-25 17:47:40
List Group
Last updated: 2025-12-25 17:47:40
Redis version 2.8 Standard Architecture, Redis 4.0, 5.0, 6.2, 7.0, and ValKey 8.0 Standard Architecture and Cluster Architecture all support lindex, linsert, llen, lpop, lpush, lpushx, lrange, lrem, lset, ltrim, rpop, rpoplpush, rpush, rpushx, blpop, brpop, brpoplpush commands.
The Standard Architecture of Redis version 2.8, Redis 4.0, and Redis 5.0 do not support the blmove, lmove, and lpos commands, whereas Redis 6.2 and 7.0 do.
Cluster Architecture does not support the rpoplpush, blpop, brpop, or brpoplpush commands in cross-slot scenarios.
Redis 7.0 version and ValKey 8.0 support: lmpop, blmpop.
Command Family
Command
New Description
list Family
LMPOP numkeys key [key ...] <LEFT | RIGHT> [COUNT count]
New commands added.
Pop COUNT elements from the list, with the popping direction controlled by LEFT | RIGHT.
Multi-key commands.
BLMPOP timeout numkeys key [key ...] <LEFT | RIGHT> [COUNT count]
New commands added.
The blocking version of lmpop, where timeout is used to set the blocking time.
If blmpop is used in multi exec, its behavior is equivalent to lmpop. This specification is defined by Redis, and proxy does not perform special handling.
For specific information, see the table below. "✓" indicates support, "x" indicates no support, and "-" indicates that the command does not involve cross-slot access scenarios.
Command
Redis 7.0/ValKey 8.0 Standard Architecture
Redis 7.0/ValKey 8.0 Cluster Architecture
Redis 6.2 Standard Architecture
Redis 6.2 Cluster Architecture
Redis 5.0 Standard Architecture
Redis 5.0 Cluster Architecture
Redis 4.0 Standard Architecture
Redis 4.0 Cluster Architecture
Redis 2.8 Standard Architecture
Cluster Architecture Cross-Slot Support
lindex
-
linsert
-
llen
-
lpop
-
lpush
-
lpushx
-
lrange
-
lrem
-
lset
-
ltrim
-
rpop
-
rpoplpush
x
rpush
-
rpushx
-
blpop
x
brpop
x
brpoplpush
x
blmove
x
x
x
x
x
-
lpos
x
x
x
x
x
-
lmove
x
x
x
x
x
-
lmpop
x
x
x
x
x
x
x
-
blmpop
x
x
x
x
x
x
x
-
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback