Notifications disappear on Restart / Upgrade?

(Dean Taylor) #1

##The Basics
I’m getting the feeling notifications are being lost on restart / upgrade.

I am worried now that when I restart / upgrade via docker update (which I do ~daily frequently) users may be loosing their notifications.

##More Detail

Just experienced a restart on where it popups up indicating there is a new version and to select to refresh.

Now after a refresh looking at my notification list here:

or here:

I’m not seeing the likes I received here:

And if I check @codinghorror’s likes it’s there:

And in my likes received here:

I understand that notifications hit redis (an in memory database) to avoid performance issues.

If my understanding is correct - maybe these are questions
Are there details that should hit an on disk DB to avoid users missing important notifications (to them)?
Should redis be backed to disk during upgrade? or on scheduled task?

(Régis Hanol) #2

On Discourse, you will only get a notification for the first like :wink:

You will get a badge when you have 10, 25 and 50 likes though.

(Dean Taylor) #3


Could you clarify that during a restart of the server either via upgrade or normal server restart that no notifications are lost?

(Jeff Atwood) #4

I think this is just a misunderstanding that you are only notified for the first like on a post, I have never seen notices get lost on update.

(Kane York) #5

Notifications are saved in the database, they won’t be lost.

(Dean Taylor) #6

Thanks for the clarification! And revealing me of my worries.

Feel free to close :wink:

(Jeff Atwood) #7