Closed
Bug 1002295
Opened 11 years ago
Closed 11 years ago
Deploy tokenserver 1.2.5 to stage
Categories
(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)
Cloud Services
Operations: Deployment Requests - DEPRECATED
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rfkelly, Assigned: mostlygeek)
References
Details
(Whiteboard: [qa+])
This version of tokenserver completes the databases changes from Bug 988643. It updates the app code to start using/populating the new "nodeid" column, and populates the column for existing rows.
Bug 988643 - add index for looking up assignments by node node
The migration should be straightforward now that we've got alembic working properly and stage and prod dbs are in the same state:
* Build the rpm and deploy to all webheads
* From one of the webheads, run the migration tool as follows:
./bin/alembic upgrade head
After this we'll be able to use the nodeid index for much more efficient manipulations of node assignments, e.g. when nuking a node.
Updated•11 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [qa+]
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bwong
Assignee | ||
Comment 1•11 years ago
|
||
Deployed stack and ran database upgrade:
[bwong@--- tokenserver]$ time ./bin/alembic upgrade head
INFO [alembic.migration] Context impl MySQLImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
INFO [alembic.migration] Running upgrade 846f28d1b6f -> 6569dd9a060, populate nodeid column and index
real 2m23.933s
user 0m0.785s
sys 0m0.304s
mysql> select count(1) from users;
+----------+
| count(1) |
+----------+
| 1138773 |
+----------+
1 row in set (0.26 sec)
The RDS is able create ~7800 index entries / second with the 500 write PIOPS. We can use this number to estimate the production performance impact window.
Assignee | ||
Comment 2•11 years ago
|
||
DNS updated to token.stage.mozaws.net points at the new stack.
Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 3•11 years ago
|
||
I will verify this later today...
Comment 4•11 years ago
|
||
Stage looks good to me.
Let's roll this forward to Production (I can't seem to find the Prod deploy ticket, though)...
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•