Closed Bug 1319441 Opened 8 years ago Closed 8 years ago

Set the x-taskcluster-skip-cache header to skip cloud mirror when downloading logs

Categories

(Tree Management :: Treeherder: Data Ingestion, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Uses the new feature added in: https://github.com/taskcluster/taskcluster-queue/pull/129 To work around: "Bug 1305768 - Periodic spikes in response time for requests from Treeherder for task logs through cloud-mirror"
Attachment #8813620 - Flags: review?(wlachance)
Attachment #8813620 - Flags: review?(wlachance) → review+
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/9947b1f1de0a0357c6936451506eaa21db2b957a Bug 1319441 - Skip cloud mirror when downloading logs from Taskcluster Cloud mirror cases periodic spikes in response time (bug 1305768), so we now use the new `x-taskcluster-skip-cache` header to skip it when downloading eg logs/taskgraphs/...: https://docs.taskcluster.net/reference/platform/queue/references/api#getArtifact Since the urllib2 usage is going to be replaced with the common requests code, and since this is hopefully a short-term workaround, hardcoding this at point of usage should be fine.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: