Page 1 of 1

Empty MyPlace

Posted: Wed Oct 24, 2007 2:33 pm
by Megami
Hi,

I just went to check something in myPlace and found that all figures have disappeared. I've seen approx. 420 anime, I panicked a bit seeing this:
Image

I don't know if this happened to others, I hope someone can check this. :)

myList seems to be complete.

Thanks!

Posted: Wed Oct 24, 2007 3:52 pm
by Rar
http://anidb.net/perl-bin/animedb.pl?sh ... uid=105666

Looks like an error with the cron. Might have something to do with the fact every mylist entry is marked deleted, or might not.

Rar

Posted: Wed Oct 24, 2007 4:05 pm
by epoximator
ok. it seems that this may happen if you edit your mylist while the cron is running. i'll try to fix it soon.

if you change something in your mylist now your stats should be fixed next time the cron is running, though

Posted: Wed Oct 24, 2007 5:07 pm
by Megami
Rar wrote:http://anidb.net/perl-bin/animedb.pl?sh ... uid=105666

Looks like an error with the cron. Might have something to do with the fact every mylist entry is marked deleted, or might not.

Rar
I'm not a squirrel :lol: , I do not burn nor save on HDD. AniDB is necessary to me to keep trace of what I've seen.

I won't change anything until it's not back to normal. That way I'm sure I do not mess your work.

Thanks both of you for your answers.

Posted: Wed Oct 24, 2007 5:17 pm
by Der Idiot
well thing is if you don't change anythign it won't change. stale accounts (those in which nothing was updated since the last update) don't get updated via the cronjob.

Posted: Wed Oct 24, 2007 5:51 pm
by Megami
Sorry, I didn't understood it that way. :oops:

I have some eps to add to mylist, I'll try that tonight.

Posted: Wed Oct 24, 2007 6:23 pm
by Rar
Der Idiot wrote:well thing is if you don't change anythign it won't change. stale accounts (those in which nothing was updated since the last update) don't get updated via the cronjob.
Considered that, but discounted by adding &do=latest and noting that there have been mylist additions well within the boundary.

I think epoxi is on the money, will just have to pamper him till he fixes up the cron.

Rar

Posted: Thu Oct 25, 2007 8:39 am
by exp
The user was correctly marked with statsstale when I checked just now. After running the user stats cron job manually all the counters seem to be ok again too.

The issue seems to arrise only when users modify their mylist the first time within 24h exactly while the user stats cron job is running.

The problem there is that the user stats cron job does not store the list of users with statsstale set to true locally. But instead directly uses it in db queries at different points in time.
This means that if the user was not marked statsstale at the beginning, none of that users db entries will be counted. If the user is then marked with statsstale before the results are written back to the db, the user's stats are overwritten with zeros.

BYe!
EXP

Posted: Thu Oct 25, 2007 2:12 pm
by Megami
I got back to normal.
Thanks!

(Hopefully someone at home could explain to me your tecnical terms. :oops: )

Posted: Thu Oct 25, 2007 4:56 pm
by guhungry
I still have the same problem.
http://anidb.net/up84121

Posted: Fri Oct 26, 2007 5:49 am
by epoximator
could you please just read the thread? no one said it has been fixed