Timeout on API when it tries to check user auth token

Bug #337922 reported by Ursula Junque
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

We had several timeouts on 03/03, about 250. It seems it's timing out when trying to get the auth token for the user, as seen on OOPS-1158ED128, OOPS-1158ED332 and OOPS-1158ED133.

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

I think we are missing an index since we changed the query from nonce, token, to nonce, token, timestamp.

I think we could remove the oauthnonce_nonce_token_key index and create a new one.

Changed in launchpad-foundations:
assignee: nobody → stub
importance: Undecided → High
milestone: none → 2.2.3
status: New → Triaged
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

I've requested a prune of the OAuthNonce table, that should alleviate the problem until we put the index in.

Revision history for this message
Stuart Bishop (stub) wrote :

Pruned and a temporary index put in place.

Stuart Bishop (stub)
Changed in launchpad-foundations:
status: Triaged → Fix Committed
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.