Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Phantom posts causing thread length errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback
View previous topic :: View next topic  
Author Message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3477

PostPosted: Sat Jul 27, 2024 10:02 am    Post subject: Phantom posts causing thread length errors Reply with quote

[Administrator note: this post, and the first 3 responses, were originally attached to the Report violations, duplicates, misplaced posts, etc. thread. These posts had some content that might be of interest to future readers, so I split them off rather than leave them in that thread, where they would be deleted as part of routine cleaning. -Hu]

https://forums.gentoo.org/viewtopic-t-1150988-postorder-asc-start-99.html (link modified manually so it points to something that does exist)

This topic behaves in a funny way right now. Forum reports it as 5-pages long, but jumping to 5th page errors out with "No posts exist for this topic"
Things like that happen now and then in different threads; kinda looks like an incomplete deletion where the post found by search _should_ be at certain offset, but something else's been kicked out of queue and now the offset reported by search is out of bounds.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22877

PostPosted: Sat Jul 27, 2024 2:52 pm    Post subject: Reply with quote

szatox wrote:
https://forums.gentoo.org/viewtopic-t-1150988-postorder-asc-start-99.html (link modified manually so it points to something that does exist)

This topic behaves in a funny way right now. Forum reports it as 5-pages long, but jumping to 5th page errors out with "No posts exist for this topic"
Things like that happen now and then in different threads; kinda looks like an incomplete deletion where the post found by search _should_ be at certain offset, but something else's been kicked out of queue and now the offset reported by search is out of bounds.
My understanding is that it is not an incomplete deletion, but rather an incomplete creation. One or more users attempted to post in that thread with posts that failed some aspect of validation (such as post title too long). Those failed posts exist enough to cause the thread to claim to be 100+ posts long, and thus offer you a link to page (100 / 20) = 5, but do not exist enough to actually be shown when viewing the thread, so when you try to start on post 100, the forum fails, because it cannot find sufficient preceding posts. I am not aware of a way (other than direct SQL updates) to repair such threads.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2741
Location: Here and Away Again

PostPosted: Wed Aug 07, 2024 8:10 am    Post subject: Reply with quote

Hu wrote:
szatox wrote:
https://forums.gentoo.org/viewtopic-t-1150988-postorder-asc-start-99.html (link modified manually so it points to something that does exist)

This topic behaves in a funny way right now. Forum reports it as 5-pages long, but jumping to 5th page errors out with "No posts exist for this topic"
Things like that happen now and then in different threads; kinda looks like an incomplete deletion where the post found by search _should_ be at certain offset, but something else's been kicked out of queue and now the offset reported by search is out of bounds.
My understanding is that it is not an incomplete deletion, but rather an incomplete creation. One or more users attempted to post in that thread with posts that failed some aspect of validation (such as post title too long). Those failed posts exist enough to cause the thread to claim to be 100+ posts long, and thus offer you a link to page (100 / 20) = 5, but do not exist enough to actually be shown when viewing the thread, so when you try to start on post 100, the forum fails, because it cannot find sufficient preceding posts. I am not aware of a way (other than direct SQL updates) to repair such threads.

This is true.

I clean up "phantom posts" causing that issue from time to time, when I bump into such topics, and I've made a note of this particular one to do so with it as well on the next dive.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3477

PostPosted: Wed Aug 07, 2024 9:11 am    Post subject: Reply with quote

Ah, so that's how those fuzzy threads I encountered previously eventually stopped being fuzzy.
Thank you for for your service!
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum