Can retrying a non-resumable Drive files.create after HTTP 502 create a duplicate?
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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?
- Vorherrschende Sprache
- Python
- Sterne
- 8.9k
- Forks
- 2.6k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 17
Entwicklungsumgebung
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus googleapis/google-api-python-client
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
googleapis/google-api-python-client#2788 ·
Maintainer antworten meist innerhalb von 1 Tag
-
test: connection leak test test_discovery_http_is_closed is shadowed and syntactically invalidOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
googleapis/google-api-python-client#2757 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
googleapis/google-api-python-client#2755 ·
Maintainer antworten meist innerhalb von 1 Tag
-
เมตาแมสOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 10/100
googleapis/google-api-python-client#2824 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
googleapis/google-api-python-client#2779 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in googleapis/google-api-python-client
Ähnliche Issues
-
correction metadata
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
acl-org/acl-anthology#10104 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug status/needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
prowler-cloud/prowler#12885 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Bug in GaussianTailProbabilityCalibrator: running_statistics=False still uses a windowed varianceOffenbug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
selimfirat/pysad#107 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug ci-failure high priority
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
vllm-project/vllm-omni#8194 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag