Review when consumers are notified about reservable chunk
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Start at opsqueue/src/consumer/server/conn.rs around line 240, where a consumer waits for a chunk to become reservable, then find where that notification is sent. Trace the code paths the issue names: removing a reservation after chunk failure, and chunk completion failing, to see where no notification is sent. Done when a waiting consumer is woken in those cases, which a test should confirm.
由索引模型根據 Issue 內容生成。
描述
If no chunks are available for reservation, a consumer waits to be notified about a chunk becoming available. https://github.com/channable/opsqueue/blob/75f8b3798f6948a595cb185a3db8c848e9f1769a/opsqueue/src/consumer/server/conn.rs#L240
However, not all code paths that lead to a chunk becoming reservable notify the consumer. For example if a reservation is removed after chunk failure, or chunk-completion fails. Thanks to @SemMulder for discovery
- 主要語言
- Rust
- 星號
- 97
- 分支
- 2
- 平均合併
- 1 天 18 小時
- 30 天內合併 PR
- 4
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
channable/opsqueue 的其他 Issue
-
Reserver does not need to be generic可能已有人在做 @jerbaroo 於 12 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
channable/opsqueue#195 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
Make `submissions_canceled` and `add_chunks_done_to_submissions_failed` migrations bidirectional未關閉
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 45/100
維護者通常 1 天內回覆
-
discussion
難度 5/5 一週以上 新手友好度 30/100
channable/opsqueue#188 · 2 個 reaction ·
維護者通常 1 天內回覆
查看 channable/opsqueue 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
-
documentation
難度 1/5 1 小時以內 新手友好度 82/100
physicsdolphin/nv-uefi-unlocker#53 · 4 個 reaction ·
維護者通常 1 天內回覆
-
area/desktop-shell
難度 2/5 1-3 小時 新手友好度 72/100
yantrikos/yantrik-os#1012 ·
維護者通常 1 天內回覆
-
bug ui-dashboard
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 66/100
haowjy/mars-agents#295 ·
維護者通常 1 天內回覆