Lucas_Werkmeister_WMDE added a comment.

  In T326768#9499178 <https://phabricator.wikimedia.org/T326768#9499178>, 
@Lucas_Werkmeister_WMDE wrote:
  
  >> So I have no idea how the edit was still made, unless we… transparently 
retry requests in JS?
  >
  > Nope, locally it doesn’t look like we do that.
  
  There are in fact three `wbsetclaim` API requests for `L679512` and `P11328` 
in Hive (coming from the same IP as the one found earlier): one at 
2023-12-26T18:11:20Z, one at 2023-12-26T18:11:25Z, one at 2023-12-26T18:11:37Z. 
(I.e., five seconds later and then twelve seconds after that.) The first two 
requests have the same baserevid (2037662725), the third has a newer one 
(2037664634). I’m guessing the user saw the error (i.e. it was in fact 
uncaught), tried again, got the error again, then reloaded the page and tried 
once more, at which point it worked and the statement was added (because it now 
used a newer baserevid). So that at least explains the mystery of how an edit 
was still made. (The third request also specified the statement ID that was 
mentioned above as the one the lexeme actually has, 
`L679512$06f7e04d-45b9-440f-5b29-d13c0a3d26c0`.)
  
  (Found by querying Hive for `SELECT meta.dt, params FROM 
event.mediawiki_api_request WHERE year = 2023 AND month = 12 AND day = 26 AND 
hour = 18 AND http.client_ip = '[redacted]' AND http.method = 'POST'` and then 
grepping the results manually for `L679512` and `P11328` because I didn’t know 
how to filter on the params in Hive.)

TASK DETAIL
  https://phabricator.wikimedia.org/T326768

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: thiemowmde, Lucas_Werkmeister_WMDE, ItamarWMDE, Michael, Aklapper, jeena, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
Akuckartz, darthmon_wmde, Rosalie_WMDE, Nandana, Lahi, Gq86, GoranSMilovanovic, 
Mahir256, QZanden, KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Verdy_p, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to