26

I've heard of Stack Overflow being 2, 3, maybe 4 days slow, but why is THIS happening?


Today: "Excavator" badge, edited first post that was inactive for 6 months.  I edited Dec 16'20???


For future readers: "Today" is February 12, 2021 in comparison to the edit date of December 16, 2020

I mean, I will be ok if Stack Overflow has some traffic and I am delayed for a week. The problem here is that that edit was almost 2 months ago. Similar questions about badge updates being slow have been asked, but I've never seen any of them going this far.

The system that checks if I earned the Excavator badge probably should've noticed by now that I earned it. Maybe an Update button in user profiles could help verify that badges (and maybe other stuff) have been properly awarded, and if not give those badges to the user.

Does anyone else have any problems like this or some solutions?

24
  • 6
    You actually seem to have made that edit slightly less than 2 months ago. That still seems like quite a long time for the badge to get awarded.
    – cigien
    Feb 12, 2021 at 19:35
  • 1
    You're not alone. stackoverflow.com/help/badges/1287/excavator some more Excavators are awarded late.
    – rene
    Feb 12, 2021 at 19:45
  • 5
    Might be a side-effect of meta.stackoverflow.com/a/405134/578411
    – rene
    Feb 12, 2021 at 19:51
  • 1
    As for me, I'm pretty sure I have enough for the Unsung Hero badge, but I still don't have it yet...
    – M-Chen-3
    Feb 12, 2021 at 19:52
  • @rene: So you're suggesting that since it re-indexed Stack Overflow, it checked for the badges again and finally gave me the badge? Feb 12, 2021 at 19:53
  • Yeah, that might be. I pinged Dean in a comment and left links to this post in chat for hopefully a dev to spot.
    – rene
    Feb 12, 2021 at 19:54
  • @rene: Yep, saw that. Thanks for your help. I was thinking Stack Overflow paused or something at the moment I edited and it didn't record it for badge counting, although I left it out of the post because that sounded silly. Feb 12, 2021 at 19:56
  • 11
    Re-indexing would not have affected this. We had some other badge issues a few weeks back, will check in with our DBA on Monday
    – Dean Ward
    Feb 12, 2021 at 20:31
  • I had this happen to me on puzzling. However, I had already earned the badge months before. My count never changed and has been the same for months. Edit - I checked and the date of earning was not overridden.
    – MacGyver88
    Feb 12, 2021 at 21:25
  • 1
    badges, meh, you should have bigger things to worry about :)
    – TheGeneral
    Feb 13, 2021 at 0:19
  • 1
    In Arqade, I complained I don't have the Curious badge displayed even if I already accomplished it. We really need to deal with badge-earning traffic in the whole network.
    – user15044422
    Feb 13, 2021 at 1:33
  • 4
    If any badges should be delivered late, this is one. Feb 13, 2021 at 4:31
  • 1
    @DeanWard I reported on MSE (Sept 2018) that some badges were not awarded, across the sites, but nothing came of it meta.stackexchange.com/q/315480/282094 - I had hoped that the annual recalculation (and other synchronization events) would pick up the strays, but still a couple appear to be lost. --- It would be great if we could get a recount, even if it runs slowly at low priority; and takes many weeks to eventually get every number (badge, rep, etc.) exact.
    – Rob
    Feb 13, 2021 at 6:05
  • 1
    @M-Chen-3 However, your this answer imho clearly deserves an up, so you got it. One of your these answers might deserve a down, but I have no hearth to look for answers to vote them down. At least you are a step closer. :-)
    – peterh
    Feb 13, 2021 at 18:16
  • 1
    @Scratte He has now 10 zero-scored answers, because I voted his only -1 scored accepted answer up (because it obviously deserved it). Finally, if you take part in others' discussion, it would be highly useful to at least read what they earlier wrote to each other. Making me to replay myself poisons the whole thread.
    – peterh
    Feb 13, 2021 at 22:11

1 Answer 1

12

This should be resolved.

There is a query that is used to identify users who qualify for the Excavator badge that has been silently timing out for several months, which resulted in the badges being awarded sporadically. I rewrote the query and it now executes in 10 seconds versus the minute plus which resulted in the time-out.

6
  • 1
    Uhhhm, related ... ?
    – rene
    Feb 17, 2021 at 16:16
  • 1
    @rene aye it is
    – Taryn
    Feb 17, 2021 at 16:17
  • 3
    Sends badges for support and comfort ...
    – rene
    Feb 17, 2021 at 16:18
  • So that query is causing Excavator badges to be awarded late because it times out and does nothing, and it doesn't give out any error, so no one noticed? And because it did that for so long, the Excavator badge wasn't given out for a long time? OK, that's probably the problem. Thank you! Feb 17, 2021 at 17:27
  • 1
    @LakshyaRaj There was a generic error message in the logs, but nothing specifically said it was a SQL issue which is partly why I didn't see it. Yes, the query was timing out which meant the badge couldn't be awarded on a regular basis. The query has been fixed and the badge should now be awarded as expected on a daily basis.
    – Taryn
    Feb 17, 2021 at 17:29
  • OK, thanks! Good thing most likely no one will have this problem anymore! Feb 17, 2021 at 17:34

You must log in to answer this question.

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