As shown in the picture below, I received 3 badges (so far) for visiting the Stack Overflow election page.
-
1Ooh ... vote fraud ...– Glorfindel ModMar 11, 2019 at 20:50
-
1I now have a fourth.... And a fifth– Canadian LukeMar 11, 2019 at 20:53
-
I have the same problem. 7 badges.– Ender LookMar 11, 2019 at 20:56
-
8Thanks for the report - we've temporarily stopped awarding badges while we investigate this. (Report on MSO: meta.stackoverflow.com/questions/381126/…)– Shog9Mar 11, 2019 at 21:05
-
My notifications now correctly display the "Caucus" badge receipt once.– JBallinMar 11, 2019 at 21:29
-
1Same here. Guessing it's fixed now– Canadian LukeMar 11, 2019 at 21:32
1 Answer
This should be corrected now. The crux of the issue was a race condition that allowed one user to get qualifying user history entries for the badge twice: this then caused the badge awarding logic to try to give them two badges, which violated a constraint and stopped the entire badge award process... After the achievement notification had already been created.
And this kept happening, every time the badge award script ran: identify everyone with qualifying history entries, send 'em achievement notifications, try to award badges & fail... Rinse, repeat.
Nick cleaned up the duplicate UserHistory entries, the erroneous badge achievement notifications, and re-ran the badge awards - successfully. In the near future, we'll try & clean up this logic a bit to prevent future errors.
-
[W]e'll try & cleanup this logic a bit to prevent future errors
- Preventing future errors is the goal of all programming, right? ;-) Thanks for getting on this quickly Mar 11, 2019 at 22:48