Closed
Bug 1113235
Opened 10 years ago
Closed 7 years ago
Add retry logic to all the non-periodic tasks
Categories
(Tree Management :: Treeherder, defect, P2)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mdoglio, Assigned: emorley)
Details
Attachments
(1 file)
We need to be sure that in case something goes wrong with a non-periodic task, this will be retried a number of times.
| Assignee | ||
Updated•10 years ago
|
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
| Assignee | ||
Updated•10 years ago
|
Priority: P1 → P2
| Assignee | ||
Updated•10 years ago
|
Priority: P2 → P3
| Assignee | ||
Comment 1•10 years ago
|
||
It looks like we don't retry some of the pulse publishing tasks, which is problematic given errors we're seeing eg:
https://rpm.newrelic.com/accounts/677903/applications/5585473/traced_errors/5c731e-72bef07a-458c-11e5-97ea-b82a72d22a14/similar_errors?original_error_id=3601293082
https://rpm.newrelic.com/accounts/677903/applications/4180461/traced_errors/52946a-bed0de34-446d-11e5-97ea-b82a72d22a14/similar_errors?original_error_id=52946a-bed0de34-446d-11e5-97ea-b82a72d22a14
Component: Treeherder: Data Ingestion → Treeherder
Priority: P3 → P2
| Assignee | ||
Comment 2•10 years ago
|
||
Marking blocking bug 1176484, since on Heroku all dynos are restarted every 24 hours, so interrupting a task must not causes data loss.
Blocks: treeherder-heroku
| Assignee | ||
Comment 3•9 years ago
|
||
Most of our tasks retry, for the ones that don't the current situation is no worse than the current stage/prod infra.
| Assignee | ||
Comment 4•9 years ago
|
||
This isn't specific to Heroku.
Tasks that are not periodic and don't yet retry, are:
@task(name='publish-job-action')
@task(name='publish-resultset-action')
@task(name='publish-resultset-runnable-job-action')
@task(name='generate-alerts')
No longer blocks: treeherder-heroku-polish
| Assignee | ||
Comment 5•7 years ago
|
||
Since comment 4, that list has now shrunk to:
@task(name='publish-job-action')
@task(name='generate-alerts')
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Comment 6•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Attachment #8996330 -
Flags: review?(cdawson)
Updated•7 years ago
|
Attachment #8996330 -
Flags: review?(cdawson) → review+
Comment 7•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/e0a9fe9bbf5028b51c842d883f033b913475a7a5
Bug 1113235 - Move custom ETL exceptions to their own module
This helps avoid circular import errors in the next commit (via the
`treeherder/workers/task.py` import of `MissingPushException`.
https://github.com/mozilla/treeherder/commit/9678efc63aff807d2faac28e5a91a8d547f51f0a
Bug 1113235 - Make all non-periodic tasks automatically retry
Most non-periodic (ie not schedule via celery beat) were already
automatically retrying, apart from these two.
| Assignee | ||
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•