Better retry of b2_finish_large_file
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ó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
The payload names no source files, only the B2 API calls b2_finish_large_file and b2_get_file_info. Start by searching the repository for where the large-file finish call is made and how its errors are handled. Done means that a 400 from finishing triggers a b2_get_file_info check that reports whether the file was already finished. The thread is 3,000 days old with no linked pull request, so confirm the approach with maintainers first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
There has been a problem with finishing large files. Sometimes the response from b2_finish_large_file is lost, which can happen because of a request timeout or broken connection. When that happens, the client can't tell whether the file was finished or not. Trying to finish the file again will return a `400 Bad Request' because the file is already finished.
Recently, a race condition has been fixed in the B2 service. Now, if there is a request to finish a file in progress, another call to b2_finish_large_file guarantees not to return a 400 until that request completes. Now, after you get a 400 back when trying to finish a file, you can call b2_get_file_info and get an accurate answer as to whether the file was finished.
Now, the command-line tool needs to be extended to check whether finishing a file succeeded if a 400 is returned from b2_finish_large_file.
- Ngôn ngữ chính
- Python
- Star
- 638
- Fork
- 138
- Merge trung bình
- 8 giờ 27 phút
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 Backblaze/B2_Command_Line_Tool
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Backblaze/B2_Command_Line_Tool#553 · 2 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Adopt the AI-native SDLC playbook and repository policiesCó thể đã có người làm @goanpeca đã nhận 18 ngày trước. Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Backblaze/B2_Command_Line_Tool#1192 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Backblaze/B2_Command_Line_Tool#1168 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add to MacPortsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
Backblaze/B2_Command_Line_Tool#1161 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
b2 ls timestamps human readableĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 56/100
Backblaze/B2_Command_Line_Tool#1155 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Backblaze/B2_Command_Line_Tool
Issue tương tự
-
ライブラリを追加Đang mởpriority middle
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
KATO-Hiro/AtCoderClans#13015 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
StringLiteral to IntegerType/LongType silently truncates fractional strings, changing predicate meaningCó thể đã có người làm @Shahzeb-DataEngineer đã nhận hôm nay. Đang mởkind:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
apache/iceberg-python#4382 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
request-theme
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 62/100
LizardByte/ThemerrDB#10024 · 2 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
btclib-org/btclib-node#2505 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
open-webui/open-webui#34462 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày