Close the initial GCS range reader when closing rangedReader
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 pkg/objectstorage/gcsranged.go 开始,沿着 GetObject 跟踪到 newRangedReader 和 rangedReader.Close。检查初始的 GCS range reader 如何作为 head 传递,以及子 context 如何被取消。当关闭一个只消费了一部分的 rangedReader 也会关闭 head 或以其他方式停止其 request,且不改变后续 range-fetch 行为时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
In pkg/objectstorage/gcsranged.go, GetObject opens the first GCS range reader with the caller's context and passes it as head to newRangedReader. newRangedReader creates a child context for later range fetches, but rangedReader.Close only cancels that child context and does not close head. Closing a partially consumed object reader therefore leaves the original head request/body owned by the caller's context instead of stopping it with the returned reader. Please close head on Close (or create it with the reader-owned context and still close it).
- 主要语言
- Go
- 星标
- 4.4k
- 派生
- 515
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 311
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
agent-substrate/substrate 的其他 Issue
-
Router dynamic xDS gRPC control plane runs plaintext on 0.0.0.0:18000可能已有人在做 @LiorLieberman 于 1 天前认领。 未关闭area/network area/security kind/bug
难度 2/5 1-3 小时 新手友好度 74/100
agent-substrate/substrate#2276 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
area/network kind/bug
难度 2/5 1-3 小时 新手友好度 75/100
agent-substrate/substrate#2245 ·
维护者通常 1 天内回复
-
[Bug]: e2e script flag parsing is broken可能已有人在做 @ericcurtin 于 3 天前认领。 未关闭area/dev-infra area/tests kind/bug
难度 2/5 1-3 小时 新手友好度 72/100
agent-substrate/substrate#2217 · 1 条评论 ·
维护者通常 1 天内回复
-
Reject trailing YAML documents in actor-template create manifests可能已有人在做 @ericcurtin 于 6 天前认领。 未关闭area/cli kind/bug
难度 2/5 1-3 小时 新手友好度 84/100
agent-substrate/substrate#2156 · 1 条评论 ·
维护者通常 1 天内回复
-
Delete final-round GCS compose inputs after successful uploads可能已有人在做 @ericcurtin 于 5 天前认领。 未关闭area/storage kind/bug
难度 2/5 1-3 小时 新手友好度 82/100
agent-substrate/substrate#2154 ·
维护者通常 1 天内回复
查看 agent-substrate/substrate 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
agent-research agent-review-finding chore
难度 2/5 1-3 小时 新手友好度 66/100
jordansmall/spindrift#4922 ·
维护者通常 1 天内回复
-
gcsartifact: deleting a missing version returns an error可能已有人在做 @ktsoator 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
govulncheck
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
Change wording for init command success message可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复