Closed
Bug 669548
Opened 14 years ago
Closed 14 years ago
Missing add-on stats
Categories
(Mozilla Metrics :: Data/Backend Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Unreviewed
People
(Reporter: clouserw, Unassigned)
Details
We have two add-ons that have zero daily users but should have some:
https://addons.mozilla.org/en-US/firefox/addon/mafiaafire-redirector/
https://addons.mozilla.org/en-US/firefox/addon/mafiaafire-gee-no-evil/
They recently changed add-on ids on the site (not guids), but I'm not sure if that affects anything in your stats.
Comment 2•14 years ago
|
||
When an addon id is deleted, what happens to the corresponding version ids and file ids? Do those records get deleted in a cascade? Is it impossible for a user to download the previous versions?
Comment 3•14 years ago
|
||
What is the desired behavior for tracking ADU for users still running those old versions?
Comment 4•14 years ago
|
||
I corrected the addon_ids for these two guids also. It should be fixed in tomorrow's export. We need to run an update statement tomorrow morning to fix the historic data.
The old/new ids are:
321739 -> 324964
304744 -> 324971
Wil, can you take care of that?
| Reporter | ||
Comment 5•14 years ago
|
||
mysql> select count(*) from update_counts where addon_id=321739;
+----------+
| count(*) |
+----------+
| 20 |
+----------+
1 row in set (0.00 sec)
mysql> select count(*) from update_counts where addon_id=324964;
+----------+
| count(*) |
+----------+
| 10 |
+----------+
1 row in set (0.01 sec)
mysql> update update_counts set addon_id=324964 where addon_id=321739;
Query OK, 20 rows affected (0.21 sec)
Rows matched: 20 Changed: 20 Warnings: 0
mysql> select count(*) from update_counts where addon_id=304744;
+----------+
| count(*) |
+----------+
| 20 |
+----------+
1 row in set (0.00 sec)
mysql> select count(*) from update_counts where addon_id=324971;
+----------+
| count(*) |
+----------+
| 73 |
+----------+
1 row in set (0.00 sec)
mysql> update update_counts set addon_id=324971 where addon_id=304744;
Query OK, 20 rows affected (0.27 sec)
Rows matched: 20 Changed: 20 Warnings: 0
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 6•14 years ago
|
||
(In reply to comment #2)
> When an addon id is deleted, what happens to the corresponding version ids
> and file ids? Do those records get deleted in a cascade? Is it impossible
> for a user to download the previous versions?
They are deleted from the site. Users won't be able to download them from AMO.
Yay! It works! My stats are back and it looks good!
That moron who hacked my account and deleted everything might have gotten away with it if it were not for your _fantastic help_ , and now getting back everything looks even sweeter!
Thanks guys, and have a fantastic day!
You need to log in
before you can comment on or make changes to this bug.
Description
•