Yesterday someone serial-downvoted some posts of mine. Later that was automatically reversed. I saw it in the rep tab of my profile.

But the total vote-count is still wrong if I open the question or view my question tab. I tried it in another browser where I don't use Stack Overflow and am not logged in.

If I click on the vote number it gets recalculated and is correct further on.

Example Questions I did not recalc yet:

sum-range-with-condition-in-excel and more...


This bug report deals with a similar issue: downvote negate 4 reputation points

Question Tab


Question after recalc

  • 1
    That's just the usually caching thing. Same thing happens when a user is removed. – Mysticial Jun 13 '13 at 16:46
  • And when does it get recalculated? The reversal was 13 hours ago. – juergen d Jun 13 '13 at 16:47
  • Resolved already... Try clearing your cache. At least I see the correct vote count just now. – nhahtdh Jun 13 '13 at 16:47
  • @nhahtdh: Only if someone clicks on the vote count of that question. – juergen d Jun 13 '13 at 16:49
  • @juergend: No. I see the (cumulative) vote count being 0, instead of -1. – nhahtdh Jun 13 '13 at 16:50
  • 5
    Please don't remove links to relevant content, it really makes bug reports infuriating to track down. Link to the bug, link to the bug, please link to the bug. It makes it far easier to fix more bugs if we don't spend 10x longer figuring out which post/user/page the last one was about. – Nick Craver Jun 13 '13 at 17:19
  • @NickCraver: I removed the posts because they are recalculated now... Basically all reversed posts are incorrect, but now I don't think there are any not-recalculated left. :( – juergen d Jun 13 '13 at 17:24
  • 3
    @juergend they have history we can see and Ids I can track down in scheduled task logs...me not having to go searching and typing in titles is time spent fixing the bug. – Nick Craver Jun 13 '13 at 17:25
  • Duplicate of meta.stackexchange.com/questions/103847/… ? – mu is too short Jun 21 '13 at 5:42

I have seen this, but I am completely unable to repro it, nor should it be possible in our code. What happens is this:

  1. We do things that can throw the counts off, mainly vote reversals (including some from community).
  2. Immediately after, we sync up the the Score column on Posts that you see by totalling up the current votes and doing an UPDATE. So it's by-design the counts get out of sync, but it should only be for a few seconds.

We are aware of the issue, I'm just scratching my head at the root cause. It may be that on a large change job we're getting bitten by READ UNCOMMITTED and getting some dirty data in the UPDATE that trails. I'll take another look tomorrow and see if anything else comes to mind.

Edit: there is a deadlock case we specifically exclude from logs on scheduled tasks - I added some logging specifically for this method to see if that's happening here. I haven't gotten a notification from our SQL monitors so I doubt it...but maybe. If that's the case, I have to go see why the SQL server monitoring didn't pick it up...and I have 2 problems.

  • I just had a similar issue on that post: stackoverflow.com/a/11860592/575376. It is deleted and showed a vote total of 0. But after clicking on the count to see the up/downvote split, it changed to -1 without showing the split. Another click showed the split with +1/-2. – juergen d Aug 2 '15 at 12:27

I have witnessed this when deleting sock puppets. I am a little CDO (OCD in alphabetical order), and often go through their recent posts and expand the votes to 'fix' the display.

I once waited two days to do so, and it still only updated when I expanded.

This is not a big deal when it's just a single vote, but I've seen multi-socks causing weak/bad answers to appear highly rated, which is why I try to fix them manually.

You must log in to answer this question.

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