Author: koneko
Description:
There seems to be a missing "concurrent" test/protection during automatic account creation (with SUL) when one connects on a new wikimedia wiki.
If one open not one but 2 pages (in a tiny interval, like one second or less) on that wiki,
-the first one will cause the account to be created (normal behaviour)
-the 2nd one will show an error of the like of :
the following error occurs :
richiamata dalla funzione "User::addToDatabase". MySQL ha restituito il seguente errore "1062: Duplicate entry 'Darkoneko' for key 2 (10.0.6.21)".
I assume it's because the 2nd page doesn't detect that the 1st is already running the "account creation" thing.
The error message above was copied from napwiki (case happened some minutes ago) ; I also had the same case on another wikimedia wiki (forgot which) yesterday
Version: unspecified
Severity: minor