Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Can retrying a non-resumable Drive files.create after HTTP 502 create a duplicate?

Đang mở
#2,825 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Start with the linked Drive error guide and the referenced retry logic in googleapiclient/http.py, especially lines 92–94 and the non-resumable request path at lines 985–1019. Trace the multipart files.create behavior for an HTTP 502 and determine whether the issue needs a code or documentation change; done means providing a supported conclusion and handling recommendation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The Drive error guide recommends retrying 5xx errors. When num_retries > 0, the Python client retries responses with status ≥500, including on its non-resumable request path.

For a multipart Drive files.create POST, could the file be created successfully but the client receive a 502? If so, repeating the request could create a duplicate file.

Is retrying a non-resumable files.create after a 502 safe? If it isn’t, what approach do you recommend for handling this ambiguous result?

Ngôn ngữ chính
Python
Star
8.9k
Fork
2.6k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của googleapis/google-api-python-client

Tất cả issue của googleapis/google-api-python-client

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.