Closed
Bug 600216
Opened 15 years ago
Closed 15 years ago
Migration.php strands users on db connection fail
Categories
(Cloud Services :: Server: Other, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zandr, Unassigned)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
|
347 bytes,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
As it stands now, if migration.php can't connect to the database server, it simply errors out, leaving the user being migrated stranded on the bogus/migration node. It should clean up and put them back on their original node.
Comment 1•15 years ago
|
||
I created a patch with the error Zandr gave us on IRC:
moving XXX (to XXX.services.mozilla.com)<p>unable to connect to source db: SQLSTATE[00000] [1040] Too many connections</p>
This patch will put back in LDAP the old node in case mysql_move_user() fails
Attachment #479068 -
Flags: review?(telliott)
Updated•15 years ago
|
Attachment #479068 -
Flags: review?(telliott) → review+
| Reporter | ||
Comment 2•15 years ago
|
||
Telliott pushed http://hg.mozilla.org/services/admin-scripts/rev/9455cf3f257b
In use now, does what it says on the tin.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•