7

Related but different: Sorting questions by votes is broken

That was about the order going off after exactly 1000 results, which is not the same as what I'm seeing.


On meta, I did this:

  • Clicked Questions, and then Votes. (My page size was already 50 results per page)
  • Clicked the last page. Because I know there is a question with -105 votes, I expected to see it on the last page. But it wasn't there:

Last question is missing

  • I then went back to the first page, and then to the second page. On the second page I scrolled down and came to this:

huh?

After 92 votes, everything went weird. Then it resumed normally from 91.

EDIT

I can reproduce this frequently now, like this:

Go to the main page. Click Questions. Click votes. Click Next until you get to a page that's messed up. The last few times I did this, it was page 4:

Messed up sort order on page 4

And something else weird just happened. While paging through the results, when I got to about page 4, my view suddenly switched from 50 results per page to 15 results per page. Maybe it's related.

10
  • 1
    Caching? Though it's quite a jump even for that.
    – ChrisF Mod
    Commented Jan 24, 2012 at 21:45
  • Perhaps this is tangentially related (although certainly not the same thing)? Commented Jan 24, 2012 at 21:56
  • I see that the 4th to 7th questions visible in my screenshot were all questions that wouold have been near the top of the "newest" sort order at that time. But the rest of the questions on the page (above and below what you can see in the screenshot) seemed to be sorted by votes. I'm having trouble imagining a query that would have returned the question list in that order. Commented Jan 24, 2012 at 22:05
  • @IgbyLargeman are you referring to this question?
    – Naftali
    Commented Jan 24, 2012 at 22:41
  • Yes. It's the only question with -105 votes. Commented Jan 24, 2012 at 22:43
  • @sarnold: It definitely doesn't happen every time. Why is the -105 question a beacon of hope? Because of it's (faux) naivete? Commented Jan 25, 2012 at 0:28
  • I have a feeling this might only happen if a question is asked or updated while you're paging through the sorted questions. Commented Jan 25, 2012 at 0:31
  • 2
    @sarnold: Do you mean Questions missing from Highest Voted Questions? It's [status-completed], but it seems to be the same issue.
    – Dennis
    Commented Jan 25, 2012 at 1:19
  • @Dennis: yes! That's the one exactly. Thank you!
    – sarnold
    Commented Jan 25, 2012 at 1:26
  • I don't disbelieve you, but it isn't happening now... :( or should that be :) Commented Jan 25, 2012 at 7:15

0

You must log in to answer this question.

Browse other questions tagged .