Closed
Bug 473716
Opened 16 years ago
Closed 15 years ago
Total download count occasionally shows up as zero
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
5.0.4
People
(Reporter: jwkbugzilla, Assigned: clouserw)
References
()
Details
Attachments
(6 files)
I added a new extension three days ago. The download count is low but it is being downloaded. For such a new extension "weekly downloads" and "total downloads" should be the same. Yet, when I checked https://addons.mozilla.org/en-US/firefox/addon/10345 yesterday I saw the correct weekly download count but zero downloads in total. This disappeared shortly afterward when the page got updated, now it shows correct numbers. Today I wanted to look at the statistics dashboard (https://addons.mozilla.org/en-US/statistics/addon/10345) - and this time it showed zero total downloads and "we don't have any data for this extension". All the other values were correct, and of course yesterday the statistics dashboard was showing the data correctly. Logging in didn't change anything. Again, after something like half an hour the issue disappeared and now it shows 144 total downloads (same as weekly downloads).
Reporter | ||
Comment 1•16 years ago
|
||
Hm, now https://addons.mozilla.org/en-US/firefox/addon/10345 shows "0 weekly downloads" while the total downloads are correct. Again, logging in doesn't change anything.
Assignee | ||
Comment 2•16 years ago
|
||
Since I'm waist deep in stats already I'll have a look at this too
Assignee: nobody → clouserw
Reporter | ||
Comment 4•16 years ago
|
||
Yes, certainly sounds like it. But bug 426467 is WORKSFORME - this one certainly isn't (yet?).
Assignee | ||
Comment 5•16 years ago
|
||
Haha, not yet. ;) (I haven't reproduced this yet, for what it's worth)
Reporter | ||
Comment 6•16 years ago
|
||
I made a screenshot this time. Checked the page shortly after I uploaded a new version - and weekly downloads count shows up as zero (page is cached, still shows the old version).
Reporter | ||
Comment 7•16 years ago
|
||
The page got updated yet the glitch in download counts remains.
Reporter | ||
Comment 8•16 years ago
|
||
Just reloaded the page again and now it shows "154 weekly downloads".
Comment 9•15 years ago
|
||
Seeing as Wil is looking into things over here I'll note this here instead of reviving bug 426467 or filing another. Flagfox's public page currently lists 78,035 weekly downloads and a whopping 119 total downloads. The stats page currently says 79,927 weekly downloads and 4,382,867 total downloads.
Reporter | ||
Comment 10•15 years ago
|
||
One more screenshot - this time total downloads are zero whereas weekly downloads are correct.
Comment 11•15 years ago
|
||
We do believe you without the need for another screenshot. ;)
Reporter | ||
Comment 12•15 years ago
|
||
Just to show that both values have occasional and independent glitches - and put a timestamp on those.
Reporter | ||
Comment 13•15 years ago
|
||
"zero total downloads" issue is stable right now, both in statistics dashboard and in the add-on listing - maybe caused by the log processing script?
Assignee | ||
Comment 14•15 years ago
|
||
So, when the totaling script runs it does: - set all download counts to zero - total all add-ons - update download counts It sounds like you're hitting the page between step 1 and 3. I don't know why step 1 even exists though.
Assignee | ||
Comment 15•15 years ago
|
||
Attachment #361535 -
Flags: review?(morgamic)
Comment 16•15 years ago
|
||
Comment on attachment 361535 [details] [diff] [review] don't reset the numbers Don't know why the zeroing exists either. Seems that doing this way makes it less fault tolerant as well. So... I'm all for this - makes sense.
Attachment #361535 -
Flags: review?(morgamic) → review+
Assignee | ||
Comment 17•15 years ago
|
||
Thanks, in r22123. I'm calling this fixed and dropping it in the 5.0.2 milestone which goes out next week.
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: push-needed
Resolution: --- → FIXED
Target Milestone: --- → 5.0.2
Updated•15 years ago
|
Keywords: push-needed
Reporter | ||
Comment 19•15 years ago
|
||
I see "0 weekly downloads" for Adblock Plus right now. This was supposed to be fixed in production, reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 20•15 years ago
|
||
It's looking OK for me now, are you still seeing this?
https://addons.mozilla.org/en-US/firefox/addon/1865 seems fine to me too.
Reporter | ||
Comment 22•15 years ago
|
||
As usually, this issue only stays for one hour (until the cache expires). Right now it is fine for me again.
Updated•15 years ago
|
Target Milestone: 5.0.2 → 5.0.4
Comment 23•15 years ago
|
||
Here's a screenshot of a new odd one I just saw. Right in the middle of the "popular" list, which lists by weekly downloads, I see an add-on who says it has 0 weekly downloads. The add-on's page itself shows correctly.
Assignee | ||
Comment 24•15 years ago
|
||
Weekly counts suffer the same problems totals did. This patch is slower but avoids the blanket reset and speed isn't a big deal in this case anyway.
Attachment #368026 -
Flags: review?(morgamic)
Comment 25•15 years ago
|
||
(In reply to comment #24) > Weekly counts suffer the same problems totals did. This patch is slower but > avoids the blanket reset and speed isn't a big deal in this case anyway. Why do we not do that as a single SQL command? Seems to me like the whole looping through arrays is rather clumsy?
Assignee | ||
Updated•15 years ago
|
Attachment #368026 -
Flags: review?(morgamic) → review?(fwenzel)
Assignee | ||
Comment 26•15 years ago
|
||
Comment on attachment 368026 [details] [diff] [review] fix weekly counts morgamic is out today and wenzel has grand ideas so r? to wenzel. :)
Comment 27•15 years ago
|
||
Comment on attachment 368026 [details] [diff] [review] fix weekly counts faaantastic. This only runs nightly, right? In that case I don't think the loops are a big deal.
Attachment #368026 -
Flags: review?(fwenzel) → review+
Assignee | ||
Comment 28•15 years ago
|
||
Thanks, r24168. Hopefully this stays closed this time. :) This code will be live Thursday night.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Keywords: push-needed
Resolution: --- → FIXED
I think this is going to be hard to test on preview, since its DB is an older prod dump -- when was it last taken? Right now, I'm seeing a lot of "0 weekly downloads".
Comment 30•15 years ago
|
||
Looks like the last sync was on 2008-11-14 (bug 464829). Preview always has "0 weekly downloads"; it has separate stats. It has gotten a bit stale, so filing another resync request bug might be a good idea.
Comment 31•15 years ago
|
||
Has this been pushed to production?
Assignee | ||
Updated•15 years ago
|
Keywords: push-needed
Assignee | ||
Comment 32•15 years ago
|
||
Yes
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•