Page 1 of 1

leader board not updating

Posted: October 24th, 2016, 5:29 am
by desert dawg
Its been a couple days since the stats have updated :?:

Re: leader board not updating

Posted: October 24th, 2016, 11:09 pm
by Corfman Clan
Thanks for bringing this to my attention. I have reset things and hopefully the stats will update properly now.

Re: leader board not updating

Posted: October 25th, 2016, 10:42 am
by Corfman Clan
Well that didn't work. I'll need to take a closer look to figure out what's going wrong. :(

Re: leader board not updating

Posted: October 26th, 2016, 11:40 pm
by Corfman Clan
I have figured out why the site isn't updating. Basically early on, there's a step where all the geocache/region pairs are verified as correct. These are used extensively while processing the leaderboards, etc. Every geocache is in at least two regions and most are in four (LonelyCache wide, state, county, DGP region). For some reason, the time to process that step increased dramatically from under one minute to over many minutes. I had written the SQL query to perform the step very poorly and with the number of geocaches in LonelyCache increasing, things finally collapsed. I look at it now and wonder what the heck I was thinking.

I have rewritten the query and on my tests, it now runs in a second or two. The problem now is that I am unsure when I will be able to update the site with the fix. I have some other changes that are incomplete that I need to manage somehow before I can package the update. I'm going out of town Friday through Sunday and will not be able to tackle this until my return.

Regards,
Russell

Re: leader board not updating

Posted: October 27th, 2016, 6:35 am
by ktTris
Thanks for checking on it and providing a progress report! I hope all goes smoothly once you have a chance to apply your fix.

Re: leader board not updating

Posted: October 28th, 2016, 9:56 am
by skeeper
You'll get it figured out Russell. You always do.

Re: leader board not updating

Posted: November 5th, 2016, 5:39 pm
by Corfman Clan
This issue should now be resolved. See the release notes for more details.

Re: leader board not updating

Posted: November 5th, 2016, 9:19 pm
by desert dawg
Thanks for the hard work and the re write , nice to have the stats up to date again ! :D