Bad auth instance slows down login for all institutions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon |
Bug Description
If we have an auth instance in Mahara that needs to talk to a thirdparty site and the connection can't be made then it slows down the login for all institutions on the site.
Currently the only way to deal with this is to move users off the badly functioning auth to another auth (like internal) and then delete the bad auth.
What we really need to have is the ability to switch off an auth instance to stop it causing problems and when the problems for it are fixed then turn it back on again.
I'm envisaging that we add an 'active' column to the auth_instance table so that every instance can be on/off (0/1).
Then for our db calls to auth things check that the auth_instance is active as well as checking that auth is asctive.
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in mahara: | |
assignee: | nobody → Robert Lyon (robertl-9) |
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
milestone: | none → 17.04.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /reviews. mahara. org/7244 /git.mahara. org/mahara/ mahara/ commit/ 210a98b41a10a08 409596f731fb6b5 9d6479ad1c
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 210a98b41a10a08 409596f731fb6b5 9d6479ad1c
Author: Robert Lyon <email address hidden>
Date: Thu Nov 10 10:44:51 2016 +1300
Bug 1640308: Adding an auth_instance "active" column
To allow us to easily turn of a 'bad' auth when it is trying to
connect to a third party server but that server is not reachable.
Currently it makes logging in slow as it needs to timeout on that auth
instance before trying the next one.
behatnotneeded
Change-Id: Ieeaeeaeb1bc0aa 61ed3faad8f3bf7 51edd9c1023
Signed-off-by: Robert Lyon <email address hidden>