Close the initial GCS range reader when closing rangedReader
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 84/100
Hướng nghiên cứu
Bắt đầu trong pkg/objectstorage/gcsranged.go, lần theo GetObject đến newRangedReader và rangedReader.Close. Kiểm tra cách trình đọc range GCS ban đầu được truyền dưới dạng head và cách context con bị hủy. Hoàn tất khi việc đóng một rangedReader mới chỉ được đọc một phần cũng đóng head hoặc dừng request của nó theo cách khác, mà không thay đổi hành vi lấy range về sau.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- Go
- Star
- 5.7k
- Fork
- 612
- Merge trung bình
- 2 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 537
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của agent-substrate/substrate
-
[Low] CSI plugin builds staging directories from storage_volume_id without a containment checkCó thể đã có người làm @ericcurtin đã nhận 2 ngày trước. Đang mởarea/security kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
agent-substrate/substrate#2935 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Low] CleanupSandboxState joins an unchecked id into paths it RemoveAll()sCó thể đã có người làm @ericcurtin đã nhận 3 ngày trước. Đang mởarea/security kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agent-substrate/substrate#2932 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Low] guestVolumeSource can map host paths containing ".." outside the microVM guest shareCó thể đã có người làm @jiayimeow đã nhận 6 ngày trước. Đang mởarea/security kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
agent-substrate/substrate#2920 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Low] setupImageVolumes builds host mount paths from vol.Name without a containment checkCó thể đã có người làm @abhisheksharma2411 đã nhận 5 ngày trước. Đang mởarea/security kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
agent-substrate/substrate#2919 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Low] ate-api-server accepts client certificates chained to system roots when --pod-identity-ca-certs is unsetCó thể đã có người làm @abhisheksharma2411 đã nhận 5 ngày trước. Đang mởarea/security kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
agent-substrate/substrate#2918 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của agent-substrate/substrate
Issue tương tự
-
consensus feature I2 S4 U2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] [Go] Ack returns nil when the server answers with a non-OK statusCó thể đã có người làm @leizhiyuan đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
apache/rocketmq-clients#1465 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Priority/Low Type/Improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OpenNSW/nsw-srilanka#906 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
praetorianer777/Dynamo#57 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(handlers): explicitly set Content-Type header in static Index handlerCó thể đã có người làm @kage-zero đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày