bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Duplicates in the objectstore get stuck as 'loading'

RESOLVED WONTFIX

Status

Tree Management
Treeherder: Data Ingestion
P2
normal
RESOLVED WONTFIX
3 years ago
3 years ago

People

(Reporter: emorley, Unassigned)

Tracking

Details

(Reporter)

Description

3 years ago
As found in bug 1163659.

In load_job_data() we use _remove_existing_jobs() to filter out jobs that already exist in the job table in the same state (ie: filter out a completed job if we already have that same guid as completed in the job table):
https://github.com/mozilla/treeherder/blob/a8cd88aa4f590b5dad741121e1215a41db41e329/treeherder/model/derived/jobs.py#L1162

...however by filtering out these jobs, we don't mark that objectstore row as done with processing, at the end of load_job_data():
https://github.com/mozilla/treeherder/blob/a8cd88aa4f590b5dad741121e1215a41db41e329/treeherder/model/derived/jobs.py#L1359

This leaves the job stuck in the 'loading' processed_state.
(Reporter)

Comment 1

3 years ago
We're removing the objectstore in bug 1140349.
Assignee: emorley → nobody
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.