Chunks are skipped when async reads are cancelled during streaming
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Start by reading ProducerClient.async_stream_submission_chunks() and the regression scenario linked in the issue’s PR discussion. Reproduce cancellation after a chunk is ready but before delivery, then retry the read. Done means the cancelled read leaves that chunk available and subsequent chunks arrive in order.
由索引模型根據 Issue 內容生成。
描述
Description
Cancelling a pending anext() on ProducerClient.async_stream_submission_chunks() can consume a completed chunk before Python receives it. Retrying the read may then skip that chunk.
A regression test in PR discussion 1 demonstrates the scenario: make output chunks ready, start a read, cancel it before delivery, then retry. The next read should still yield the first chunk.
Expected behavior
If a read is cancelled before returning a chunk, the chunk should still be returned by the next read. Subsequent chunks should follow in order.
- 主要語言
- 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 天內回覆
-
難度 4/5 3-5 天 新手友好度 45/100
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 35/100
channable/opsqueue#193 · 2 則留言 ·
維護者通常 1 天內回覆
-
discussion
難度 5/5 一週以上 新手友好度 30/100
channable/opsqueue#188 · 2 個 reaction ·
維護者通常 1 天內回覆
查看 channable/opsqueue 的全部 Issue
相似的 Issue
-
needs triage
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 72/100
mozilla-services/syncstorage-rs#2715 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 70/100
-
documentation
難度 1/5 1 小時以內 新手友好度 82/100
physicsdolphin/nv-uefi-unlocker#53 · 4 個 reaction ·
維護者通常 1 天內回覆