24

As shown in the picture below, I received 3 badges (so far) for visiting the Stack Overflow election page.

enter image description here

6
  • 1
    Ooh ... vote fraud ...
    – Glorfindel Mod
    Mar 11, 2019 at 20:50
  • 1
    I now have a fourth.... And a fifth Mar 11, 2019 at 20:53
  • I have the same problem. 7 badges.
    – Ender Look
    Mar 11, 2019 at 20:56
  • 8
    Thanks for the report - we've temporarily stopped awarding badges while we investigate this. (Report on MSO: meta.stackoverflow.com/questions/381126/…)
    – Shog9
    Mar 11, 2019 at 21:05
  • My notifications now correctly display the "Caucus" badge receipt once.
    – JBallin
    Mar 11, 2019 at 21:29
  • 1
    Same here. Guessing it's fixed now Mar 11, 2019 at 21:32

1 Answer 1

14

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.

1
  • [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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .