keys past cursor
This block is part of the data group and was last modified in core v15.0.2.
keys past cursor v15.0.2 Which keys have something past a member's cursor, from a map of heads: the queues with orders a worker has not processed, the channels a reader has unread.
- group
valuerequiredthe set of keys the cursors are for: a shop's order queues, a server's channels
- member
valuewhose cursors: a worker, a device, a user. The run's socket's user by default
- heads
objectrequiredkey -> head sequence, such as log_heads' heads
- lagging
object - keys
array - error
value
heads is key -> sequence, usually log_heads' output. A key lags when its head is above the member's cursor on it; a key with no cursor and a head above 0 lags, a head of 0 never does. lagging maps each lagging key to true (keys that do not lag are absent); keys lists the same keys sorted. One Redis read for the whole map. HEADS_REQUIRED when nothing is wired to heads, HEADS_INVALID when it is not an object. member defaults to the run's socket's user; GROUP_REQUIRED or MEMBER_REQUIRED on error when either is empty, CURSOR_NOT_ENABLED when the node runs no cursors.
Version history
Introduced in v15.0.2.
v15.0.2: block added in this release.
Back to
data Return to the main group to view all sub-groups Back to cursors Return to the group to view all blocks within this group