You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wake policy: on ZADD that inserts a new min/max, wake the oldest waiter whose side (MIN/MAX) matches. Score comparison determines whether the waiter gets the element or stays parked.
Must preserve zset ordering invariants while waker fires (no lock-across-await).
Acceptance criteria
Consistency tests for immediate, blocking, timeout, multi-key paths.
Summary
Moon has no blocking zset commands. Priority queues and scheduler patterns built on
BZPOPMINbreak.Missing commands
BZPOPMIN key [key ...] timeoutBZPOPMAX key [key ...] timeoutBZMPOP timeout numkeys key [key ...] MIN|MAX [COUNT count]Design notes
ZADDthat inserts a new min/max, wake the oldest waiter whose side (MIN/MAX) matches. Score comparison determines whether the waiter gets the element or stays parked.Acceptance criteria
DEL/UNLINK/FLUSHDB.Depends on