rosetta-pofile-stats script takes more than a week to complete

Bug #781274 reported by Adi Roiban
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Critical
Unassigned

Bug Description

In the Ubuntu Romanian team we want to keep the needs review counter to 0 and this is why we look daily at the new suggestion in Launchpad.

For more than one week, a couple of templates have the 'needs review' counter greater than zero in the overview table:
https://translations.launchpad.net/ubuntu/natty/+lang/ro

If we click the `needs review` link the page says there are no new suggestions.

Here are the links:

https://translations.launchpad.net/ubuntu/natty/+source/gwibber/+pots/gwibber/ro/+translate?show=new_suggestions
https://translations.launchpad.net/ubuntu/natty/+source/simple-scan/+pots/simple-scan/ro/+translate?show=new_suggestions
https://translations.launchpad.net/ubuntu/natty/+source/transmission/+pots/transmission/ro/+translate?show=new_suggestions

Cheers

Revision history for this message
Curtis Hovey (sinzui) wrote :

Hi Henning.

I think this relates to jobs that build data that is effectively cached until the next run.

Revision history for this message
Henning Eggers (henninge) wrote :

AFAIK the statistics are updated weekly. But that job id quite resource consuming and may fail. As long as they have not been updated, the old statistics are displayed.
Whenever new translations are accepted, though, the statistics for that particular POFile are recalculated on the spot. If that is not happening, it's a bug.

Curtis Hovey (sinzui)
Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
tags: added: regression
Revision history for this message
Robert Collins (lifeless) wrote :

Is this really a regression? That is, do we know it was reliable before?

Revision history for this message
Adi Roiban (adiroiban) wrote :

The review counters were reliable in the past.

After adding the shared translation feature for the same PO Template there were some delays ... but not longer than 1 week.

The translations mentioned in this bug are out of sync for more than 2 weeks.

At least for the Romanian team, this bug is very important since the reviewers are turned down by the false positives and are no longer checking the translations status.

Cheers,

Revision history for this message
Данило Шеган (danilo) wrote :

FWIW, the script seems to take roughly 10 days to run now. We should:
 1. investigate fixing pofile-stats-daily and using it exclusively
 2. fix the problems with the stats not being updated directly (even though that is attempted) and drop the regular runs of the script (or simply make them log bugs when they find discrepancies)

Solution to 2 might be to have an async job updating the stats that would take care of all the sharing pofiles as well.

summary: - Translations needs review counter out of sync for more than one week
+ rosetta-pofile-stats script takes more than a week to complete
Revision history for this message
Stuart Bishop (stub) wrote :

As part of fastdowntime database deployments, we are expecting short database outages at least once per week. This means the script will no longer complete.

tags: added: fastdowntime
Revision history for this message
Stuart Bishop (stub) wrote :

According to the database reports, the script is chewing up 72% of a core. It is active almost all the time rather than sitting idle blocked by locks etc.

Revision history for this message
Robert Collins (lifeless) wrote :

If its doing incremental locks its not completing isn't a fastdowntime issue per se - it could be interrupted for several different reasons.

Revision history for this message
Данило Шеган (danilo) wrote :

This would be "solved" by removing the need for this script in the first place: bug 877195.

Stuart Bishop (stub)
tags: removed: fastdowntime
Curtis Hovey (sinzui)
tags: added: lp-translations
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.