Daily update of POFile statistics should process smaller set

Bug #411327 reported by Данило Шеган
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Данило Шеган

Bug Description

A full run of POFile statistics updates takes over 10h on our production system. It's even slower on staging, so we are unable to properly test it there.

We should run frequent statistics regeneration and verification on a smaller subset of all the PO files, say, those touched in the last 7 days. Care should be taken to update all the POFiles from the same sharing equivalence class, since even if they were not directly touched, statistics in them might have been affected.

This is an improvement of the approach in bug 409330 which does a cut-off by the smallest POFile DB ID, which is pretty ugly, and doesn't take sharing into account.

Related branches

Changed in rosetta:
status: Triaged → In Progress
Revision history for this message
Данило Шеган (danilo) wrote :

Fixed in devel 9082.

Changed in rosetta:
status: In Progress → Fix Committed
Changed in rosetta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.