Skip to content

Feedback: Data type commands compatibility #2587

@uglide

Description

@uglide

Page https://redis.io/docs/latest/operate/rs/references/compatibility/commands/data-types

The following multi-key commands should have a note to warn users about potential cross-slot errors:

For Active-Active or clustered databases, the original key and new key must be in the same hash slot.

  • Hyperloglog:
    • PFCOUNT
    • PFMERGE
  • Set:
    • SDIFF
    • SDIFFSTORE
    • SMOVE
    • SINTERCARD
    • SINTERSTORE
    • SUNION
    • SUNIONSTORE
  • Stream:
    • XREAD
  • String:
    • msetnx
    • LCS
  • RTS:
    • TSMADD
  • Sorted set:
    • bzmpop
    • zdiffstore
    • bzpopmax
    • bzpopmin
    • zunioin
    • zrangestore
  • Bitmap:
    • bitop
  • List:
    • Lmove
    • blpop
    • brpop
    • lmpop

The list is not complete and needs to be cross-checked.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions