What's new in Valkey 9.0? Discover new features and improvements. Read the announcement.

XSETID

An internal command for replicating stream values.

Usage
XSETID key last-id [ENTRIESADDED entries-added] [MAXDELETEDID max-deleted-id]
Complexity
O(1)
Since
5.0.0
ACL Categories
@fast, @stream, @write
Command flags
WRITE, DENYOOM, FAST

The XSETID command is an internal command. It is used by a Valkey primary to replicate the last delivered ID of streams.

Replies

RESP2

RESP3

History

  • 7.0.0: Added the `entries_added` and `max_deleted_entry_id` arguments.