Skip to content

feat: Notify/Take、Incr、Expire、WatchAny - #1

Open
carsontung666 wants to merge 5 commits into
array2d:mainfrom
carsontung666:feat/notify-take
Open

feat: Notify/Take、Incr、Expire、WatchAny#1
carsontung666 wants to merge 5 commits into
array2d:mainfrom
carsontung666:feat/notify-take

Conversation

@carsontung666

@carsontung666carsontung666 commented Aug 20, 2026

Copy link
Copy Markdown

给 shm 补上和 kvspace-durable 同一套 C ABI:

  • Notify/Take:耐久队列,落在 /‥notify,不写用户可见 key
  • Incr:Char 十进制原子 +1,缺 key 从 1
  • Expire:立刻从 List 摘名;TTL 内 Get 仍在;过期后第一次观察删叶子
  • WatchAny:多键里谁先入队谁醒,只消费那一条
  • Watch 语义不变(仍是 WatchValue)

Set/Del 取消 TTL。墓碑按连接隔离,Get/List/GetBatch/Watch/Incr 都走 reap。

@carsontung666carsontung666 changed the title Feat/notify takefeat: Notify/Take、Incr、Expire、WatchAnyAug 20, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@carsontung666