Closed
Bug 790749
Opened 13 years ago
Closed 13 years ago
db consistency checks for addons, support
Categories
(Data & BI Services Team :: DB: MySQL, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: scabral, Assigned: scabral)
References
Details
(Whiteboard: [2012q4])
Just like bug 774162 for Bugzilla, let's put consistency checks on addons and sumo for q4.
| Assignee | ||
Comment 1•13 years ago
|
||
Currently running a checksum on addons with:
pt-table-checksum --databases addons_mozilla_org --lock-wait-timeout=50 --user checksum --ask-pass --quiet --chunk-size-limit=0 --no-check-plan --replicate percona.checksums --no-check-replication-filters
Assignee: server-ops-database → scabral
| Assignee | ||
Comment 2•13 years ago
|
||
The checksum completed - VAMO is fine, but it will need to only check the following tables -
select * from percona.checksums where this_crc!=master_crc and tbl in ('applications','addons','incompatible_versions','applications_versions','tmp','files','appversions','versions');
The checksum is perfect on all the slaves except addons5, which has some problems with synced_collections. I will work on fixing that, but as soon as I do, we can put this into a cron script - the checksum took 28 minutes, and there was no replication lag (once we fixed VAMO not having the right table structures).
| Assignee | ||
Comment 3•13 years ago
|
||
looks like it's count values that are wrong on synced_collections on addons5 only. Will resync from addons7 now.
| Assignee | ||
Comment 4•13 years ago
|
||
Added dependent bug 802283 for nagios checking addons.
| Assignee | ||
Comment 5•13 years ago
|
||
putting the cron in puppet for addons7 now. Once the dependent bug 802283 is resolved, that's half this goal met!
| Assignee | ||
Comment 6•13 years ago
|
||
Consistency check for support has been run, there are no warnings, and the only difference in in the mysql database, so we're good to go on having a nagios check turned on for this. Once dependent bug 802793 is resolved, this goal can be CLOSED.
| Assignee | ||
Comment 7•13 years ago
|
||
Well, this goal has been met. Whee!
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Data & BI Services Team
You need to log in
before you can comment on or make changes to this bug.
Description
•