- d20df864 committed on 7.x-1.x
Issue #2859214 by garphy, lauriii, m.stenta: Serialization/Deadlock...
- d20df864 committed on 7.x-1.x
Automatically closed - issue fixed for 2 weeks with no activity.
When there're mutiple concurrent requests using the same access_token (being an Authorization header of an access_token query parameter), the update of the last usage timestamp of the token leads to a database serialization issue. The exception bubbles and leads to the access being denied.
It happens on relatively moderate trafic (~10 simultaneous HTTP request using the same token).
If I comment out
// Track last access on the token.
$this->logAccessTime($token);
in OAuth2Storage::getAccessToken(), everything goes smoothly (albeit the timestamp not being updated, obviously).
I do not see any way to easily solve this.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Issue #2859214 by garphy, lauriii, m.stenta: Serialization/Deadlock...
Automatically closed - issue fixed for 2 weeks with no activity.