tencent cloud

Tencent Cloud Distributed Cache (Redis OSS-Compatible)

List Group

Download
聚焦模式
字号
最后更新时间: 2026-03-17 18:10:58
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
-

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈