IJ Comment Rot Issue Found

May 15, 2009 16:00

So I have posted about this numerous times and haven't been able to figure it out up until today. For those of you here who don't know, I run InsaneJournal. And I am sure some of you are aware that we have been experiencing an issue that was termed "Comment Rot ( Read more... )

bugs: privacy, bugs: data loss, server: config, server: troubleshooting, server, bugs, bugs: data loss: comment rot

Leave a comment

Comments 12

pauamma May 15 2009, 22:57:45 UTC
Thanks for the report. Can you briefly explain what the symptoms were? (Or link to earlier entries here, if you discussed it already.)

Reply

squeaky19 May 15 2009, 23:02:09 UTC
The symptoms were that, seemingly randomly, entries would loose all comments and the security settings, mood, music, and userpic would be set back to default. Users thought it was leaving a comment that would break it, as this data was still in memcached until a new comment was left. It was very very disconcerting and felt very random until I found the cause.

Reply

squeaky19 May 15 2009, 23:40:25 UTC
Good idea

Reply


foxfirefey May 17 2009, 00:52:31 UTC
Oh wow, it's great that you found that! Congratulations! That must've been such a headache and I'm glad you don't have to deal with it anymore.

Reply


rahaeli May 19 2009, 00:46:41 UTC
This might not solve your issues entirely. The new_entry_cleanup_hack function only applies if a new jitemid is generated for a journal and that jitemid already existed in that journal at some point with associated entry and/or comments, which should only happen if you're running code from before the LJ::alloc_user_counter() function was introduced. If you take out the new_entry_cleanup_hack you're probably going to start running into the issue that caused LJ to need to introduce it in the first place: new entries posted in an account will "inherit" the comments and metadata from the old, deleted entries ( ... )

Reply


nyxocity May 12 2011, 01:02:28 UTC
Did anyone ever tell LJ how to fix this? Because I'm still having the problem.

Reply

pauamma May 12 2011, 13:48:14 UTC
I'm not sure what you mean by "tell LJ how to fix this", because that was initially implemented on LiveJournal, and (I think) is still needed here. If you have problems with comments or userpics disappearing on LiveJournal, or other unexpected behavior, you should open a support request with specifics: URL of entry/comment/userpic affected, description of the unintended change/behavior, etc. As rahaeli explains in http://lj-dev.livejournal.com/811188.html?thread=8848564#t8848564, this will not cause dataloss unless other specific conditions are present, and this is (as far as I know) not the case on LiveJournal.

Reply


Leave a comment

Up