That’s an interesting thought but remember that it counts correctly 99% of the time. It’s only breaking on large subscriber feeds very rarely. Those feeds will fetch every 5 minutes and have dozens of new stories in a day.
My guess is that the unread counter routine is being killed due to taking too long and it may stop in the middle of a recount. But it shouldn’t blow away your read stories.
I just fixed the other issue that’s been new since July 1st, so this is the last issue to fix. I’m thinking about this constantly and may try to implement some additional checks next week.
Ok, I"m going to try something new and for your two accounts, @leonick and @boyblunder, provided your NewsBlur usernames are the same, I’m going to monitor your subscription to The Verge (NewsBlur) and see how the unread counts change over time and what happens to the mark as read date.
So for the next week, I want both of you to remember when you last hit mark feed as read (probably not at all considering you both keep unreads, and thats great, I just want to know you have or have not hit it this week). And when it next resets the count, let me know ASAP. This will help us get to the bottom of this.
Happened to BoingBoing again overnight on the East coast. Definitely after 8 PM and before 8 AM today. I don’t keep unreads so if you want to watch mine as well that’s fine.
I’m also on https://newsblur.com/site/6643112/the-verge
Won’t hit mark all as read, as you said I’m unlikely to anyway as I save some items. Might take take more than a week for an unread flip, but I’ll post here if/when it happens.
Hold on, I just noticed something. When you read these feeds as single feeds and not in a folder, does the feed ever show up blank? And no other feeds do except for these problematic feeds? Blank meaning you load it and it has no stories. And after 5-10 seconds loading the feed turns up stories again?
Yep, I think I just figured out what happened. The redis sync process is no longer atomic, and during one of the many fetches, your client may be performing an unread story count, and with 0 stories in the db temporarily, everything gets rolled back.
I’m going to work on finding a solution, but I’m positive this is the culprit.
Good to hear you’ve probably found the issue. Will let you know if it happens again.
Just in case, for your questions:
As I recall The Verge is typically 500 unread items, so it might be hitting some other limit, otherwise, yea, 30 days.
While I’ve certainly had feeds not loading any items for several seconds now and the, that has definitely happened in more feeds than have had these unread flips.
what i’m finding today now is that if i don’t read everything in a category (read, say, two things of five), click to a different category and come back, the posts i read, that were marked read before i clicked away, are now unread again, though the counter on the left is correct.