during karma updates or when the karma script breaks, karma is shown poorly

Bug #354297 reported by William Grant
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

As you can see in the attached screenshot, I have no karma, but I have more than 27000.

I've seen something similar before, but it always goes away after a while.

Revision history for this message
William Grant (wgrant) wrote :
Revision history for this message
William Grant (wgrant) wrote :

IIRC it has always been around this same time - does the cache update cron job run around now?

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

I suspect it did. You have karma now.

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

I'm marking this incomplete. This issue needs watching. I believe that recent changes to translation karma may be causing the karma calculation task take to long. There are already concerns that recalculating karma takes to much memory.

Changed in launchpad-registry:
status: New → Incomplete
Revision history for this message
Curtis Hovey (sinzui) wrote :

I think this was caused by the extra work to normalise the data. It was a temporary event.

Changed in launchpad-registry:
status: Incomplete → Invalid
Revision history for this message
William Grant (wgrant) wrote :

This is still happening.

Changed in launchpad-registry:
status: Invalid → Confirmed
Revision history for this message
Micah Gersten (micahg) wrote :

I got this weird message today that my karma has expired on edge.lp. I took a screenshot and it's attached.

Curtis Hovey (sinzui)
Changed in launchpad-registry:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
William Grant (wgrant) wrote :

I'd been wondering how this happened, as transactions should prevent what has been seen. Indeed they would, but there is this lovely bit in cronscripts/foaf-update-karma-cache.py:

        self.txn.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT)

Curtis Hovey (sinzui)
tags: added: karma
Revision history for this message
Rolf Leggewie (r0lf) wrote :

bug 878403 and bug 354297 are similar

Revision history for this message
Rolf Leggewie (r0lf) wrote :

I'll be reversing the direction of the duping. Even though this ticket is much older, I believe bug 878403 is more appropriate to go forward since it has the requested information.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

actually, the request for exact time information must have been in one of the other duplicates. D'Uh. My bad. Anyhow, I will leave it as is now. I hope you don't mind.

Changed in launchpad:
importance: Low → High
tags: added: confusing-ui
summary: - Lies about lack of karma on +karma
+ during karma updates or when the karma script breaks, karma is shown
+ poorly
Revision history for this message
snd (dns) wrote :

It seems to be the same or similar problem again, since a few days.

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

Yes. The script did not run since 2012-11-08 .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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