Closed Bug 870662 Opened 13 years ago Closed 11 years ago

[bzcache] bz_cache_refresh.py should only grab bugs updated since it last ran

Categories

(Tree Management Graveyard :: OrangeFactor, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mcote, Unassigned)

Details

The OrangeFactor host runs bz_cache_refresh.py every 4 hours to try to keep the bug cache relatively up to date. Each time, it deletes the whole index, recreates it, and grabs and inserts data on all bugs updated in the last 6 months. It would be much more polite to only grab 6 months of data on the initial run, and from that point on only grab data on bugs that have changed since the last run. We'll just have to ensure that the old records are updated/replaced correctly, since we won't be wiping the index each time.
What happens when OF requests a bug that hasn't changed in 6 months (ie missing from initial import)? Does bzcache go and fetch it manually? See also bug 834719, which is my rough plan for treeherder's bug cache.
Yup. bz_cache_refresh.py is just to populate the cache ahead of time with bugs likely to be viewed.
Product: Testing → Tree Management
Wontfix in favour of OrangeFactor v2 which will consume Treeherder's API, and likely be written from scratch.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.