All notifications prior to May 13, 2014 are gone

10 posts
User avatar
Gender Male
Points 11542
Reviews 426
This was a stupid mistake on my part. Late on May 12 EDT, I was trying to figure what was causing the delay in notifications for clubs. When someone makes a comment on the wall of a club you belong to (or responds to a comment you made), you should receive a notification for that within two minutes at most. Instead, the notification was not showing up for up to 20 minutes.

Since the notification database doesn't get purged until I purge it and since I hadn't done this in a while, I figured that might be the cause. There were well over 2,000,000 entries at that point, so it seemed reasonable that the size of that database was the issue. So, I ran a code to delete all notifications that were older than a week.

On May 13, some users began noticing that notifications older than 24 hours were no longer available. I looked into this on May 14, and found that when running the aforementioned code, I used the wrong timestamp. Instead of using the timestamp for a week ago, I used the one for what was then the current time.

My deepest apologies for this error. It was a stupid mistake, and something that should not have happened. I can also promise that it will not happen again as I've now set up a script that will automatically delete old notifications; keeping that database lean and removing the possibility of me using the wrong timestamp again.




User avatar
Gender None specified
Points 1618
Reviews 155
I forgive you but demand reparations.

One hundred new notifications will suffice -- until the anniversary.




User avatar
Gender Female
Points 323
Reviews 501
No worries!
100% autistic




User avatar
Gender None specified
Points 1618
Reviews 155
As usual, Natertots delivers. Thank you. Count on my vote in the next election.




User avatar
Gender Female
Points 26101
Reviews 1335
WHY CAN'T I CLICK ON THE 100 NEW NOTIFICATIONS?!

my sense of agency is missing. ;_;
you can message me with anything: questions, review requests, rants
are you a green room knight yet?
have you read this week's Squills?




User avatar
Gender Female
Points 0
Reviews 172
I was wondering why....o.o




User avatar
Gender Female
Points 8976
Reviews 983
There's no reason for anyone to get mad at you, Nate. You're going the extra mile to make YWS awesome, so how could we say anything but thank you? =)

Also, 100 notifications?! What did I miss? D:
“I can't go back to yesterday because I was a different person then."
- Lewis Carroll




User avatar
Gender Female
Points 8976
Reviews 983
... Now I see. And here I thought I was popular for a moment. >_<
“I can't go back to yesterday because I was a different person then."
- Lewis Carroll




User avatar
Gender Male
Points 26870
Reviews 783
I never lost notifications >_>




User avatar
Gender Male
Points 1442
Reviews 73
I believe someone also got 5 notifications for one thing?
"If you're going through hell, keep going."
- Winston Churchill



i enjoy repeating things twice in poetry. but only ever twice. nothing tragic ever happens thrice if i have control of it
— theromanticchemist