Skip to content

[BUG] Either the blmove documentation is incorrect, or the blmove implementation is broken #9288

@chayim

Description

@chayim

Describe the bug

The documentation for blmove indicates that it should work similarly to lmove in that a source destination and left/right directions are to be used (twice).

To reproduce

127.0.0.1:6379> RPUSH mylist "one"
(integer) 1
127.0.0.1:6379> RPUSH mylist "two"
(integer) 2
127.0.0.1:6379> RPUSH myslist "three"
(integer) 1
127.0.0.1:6379> BLMOVE mylist eldos LEFT RIGHT
(error) ERR wrong number of arguments for 'blmove' command

Expected behavior

Same as lmove, which works.

Additional information

Validated with redis 6.2.4, and 6.2.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:to-be-closedrequesting the core team to close the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions