mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] dw_maintenance2019-12-07 09:40 am

Long-standing notification issue fixed

While working on the notifications system, I discovered the cause of an issue that has been around for a while that caused a number of users to be unable to receive some notifications. In the worst cases, you would never get an email or inbox notification of new comments, no matter how many times you toggled it on.

This is now fixed.

The story is kind of gory but the short version is that a couple of years ago when we created a new database cluster and moved a bunch of users to it, some subscriptions got 'left behind' on the old cluster. Our subscriptions and notifications system was seeing these old notifications, but later in the process when attempting to generate a notification, was throwing them out because they didn't match the user's 'correct' cluster.

I've pruned the notification rules that were on the incorrect cluster for all users (about 1.1 million notification rules, actually) and this should resolve the issue where notifications didn't work in a number of cases.
pronker: snowflake promo (Default)

[personal profile] pronker 2019-12-07 06:11 pm (UTC)(link)
*whoosh, info goes over head* but thanks for your work. :)
havocthecat: the lady of shalott (Default)

[personal profile] havocthecat 2019-12-07 06:15 pm (UTC)(link)
Yikes! But also, wow, thanks for fixing that.
ilyena_sylph: monster fistpumps and says "Hey! Yay!" (MLC: yay!)

[personal profile] ilyena_sylph 2019-12-07 06:23 pm (UTC)(link)
+applauds you some more, with an adorable monster!+
kore: (Dreamwidth - green)

[personal profile] kore 2019-12-07 06:49 pm (UTC)(link)
Thank you for the information and the transparency!
althea_valara: Photo of my cat sniffing a vase of roses  (Default)

[personal profile] althea_valara 2019-12-07 07:23 pm (UTC)(link)
Congrats on fixing a long-standing bug!

Are notifications being delayed right now due to this? Because I noticed i haven't received a notification for this comment in either my DW inbox or email.
sovay: (Rotwang)

[personal profile] sovay 2019-12-07 08:20 pm (UTC)(link)
Are notifications being delayed right now due to this? Because I noticed i haven't received a notification for this comment in either my DW inbox or email.

I have also just received a comment without any form of notification.

[edit] I have now received a second comment without either e-mail or inbox notification. I am used to seeing both.

Thanks!
Edited 2019-12-07 20:24 (UTC)

(no subject)

[personal profile] rydra_wong - 2019-12-07 20:39 (UTC) - Expand

(no subject)

[personal profile] trobadora - 2019-12-07 21:06 (UTC) - Expand

(no subject)

[personal profile] toplieutenant - 2019-12-08 15:05 (UTC) - Expand

(no subject)

[personal profile] kore - 2019-12-08 15:58 (UTC) - Expand

(no subject)

[personal profile] stifledvoice - 2019-12-08 19:00 (UTC) - Expand
compellingstatement: art by <user name=jaegerfker420 site=tumblr.com> (Default)

[personal profile] compellingstatement 2019-12-08 06:44 pm (UTC)(link)
Having the same problems. There are notifs that just seem to have dropped into the void. I'm getting them now, but the ones that I wasn't getting before haven't turned up. Even though I'm getting notifs on later tags from the same threads.
alexseanchai: Katsuki Yuuri wearing a blue jacket and his glasses and holding a poodle, in front of the asexual pride flag with a rainbow heart inset. (Default)

[personal profile] alexseanchai 2019-12-07 07:37 pm (UTC)(link)
\o/
veritas_poet: (Am I invisible)

[personal profile] veritas_poet 2019-12-07 08:17 pm (UTC)(link)
I've very rarely gotten notifications. I gave up expecting them. But no one reads my journal anyway these days, so I guess it doesn't matter.

[personal profile] casimirian 2019-12-07 09:20 pm (UTC)(link)
If you haven't yet, try finding journals to read and people to share your journal with this community. :)
https://addme.dreamwidth.org

(no subject)

[personal profile] veritas_poet - 2019-12-08 00:31 (UTC) - Expand
echan: rainbow arch supernova remnant (Default)

[personal profile] echan 2019-12-07 08:37 pm (UTC)(link)
Huzzah!

And, separately, I greatly appreciate the details you provide when things are borked and/or fixed.

(no subject)

[personal profile] pebblerocker - 2019-12-08 06:50 (UTC) - Expand
asymbiotic: (50)

[personal profile] asymbiotic 2019-12-07 09:17 pm (UTC)(link)
Right now I'm not receiving notifications on at least this account (I've received two of an estimated 15 in the last two hours, both from the same account oddly enough) and several other people in rp-land are reporting no notifications either.
Edited 2019-12-07 21:23 (UTC)

(no subject)

[personal profile] asymbiotic - 2019-12-08 12:38 (UTC) - Expand

(no subject)

[personal profile] kore - 2019-12-08 16:02 (UTC) - Expand

(no subject)

[personal profile] sovay - 2019-12-08 18:00 (UTC) - Expand

[personal profile] casimirian 2019-12-07 09:18 pm (UTC)(link)
Wooooo! Awesome job!
dennisgorelik: 2020-06-13 in my home office (Default)

Root cause analysis?

[personal profile] dennisgorelik 2019-12-07 10:54 pm (UTC)(link)
> was throwing them out because they didn't match the user's 'correct' cluster

Did you investigate why (and when) your system was programmed that way?

The correct behavior in the situation when code processes inconsistent data -- is to notify developers about unexpected situation that developers have to revisit and recode.

If code silently ignores problems - it leads to years of misdiagnosed misbehavior.
Edited 2019-12-07 22:56 (UTC)

Re: Root cause analysis?

[personal profile] dennisgorelik - 2019-12-08 10:37 (UTC) - Expand

Re: Root cause analysis?

[personal profile] momijizukamori - 2019-12-08 16:26 (UTC) - Expand

Re: Root cause analysis?

[personal profile] dennisgorelik - 2019-12-08 17:49 (UTC) - Expand

Re: Root cause analysis?

[personal profile] foxfirefey - 2019-12-09 09:25 (UTC) - Expand

Re: Root cause analysis?

[personal profile] jducoeur - 2019-12-11 19:23 (UTC) - Expand

Monolith vs micro-services

[personal profile] dennisgorelik - 2019-12-11 20:31 (UTC) - Expand

Re: Monolith vs micro-services

[personal profile] jducoeur - 2019-12-11 20:39 (UTC) - Expand

Re: Monolith vs micro-services

[personal profile] jducoeur - 2019-12-11 21:23 (UTC) - Expand

Re: Monolith vs micro-services

[personal profile] jducoeur - 2019-12-11 23:08 (UTC) - Expand
krait: a sea snake (krait) swimming (Default)

[personal profile] krait 2019-12-07 11:40 pm (UTC)(link)
Congrats on tracking down the notification issue! I know it's been bugging (heh) people for a while now.




I am currently having an issue where trying to post a poll returns the message: Error updating journal: Poll error: All poll-question (or lj-pq) tags must be nested inside an enclosing poll (or lj-poll) tag.

I have opened a support ticket, but I'm really hoping there's a faster way to figure out what's going on, because the pole in question is kinda time-relevant (it's for holiday cards). Is there somewhere I can check to see if others are having the problem and find a solution?
Edited (fixed the missing html tag) 2019-12-07 23:40 (UTC)
momijizukamori: (space dad)

[personal profile] momijizukamori 2019-12-08 12:31 am (UTC)(link)
Hmm, I was just able to create a poll without any issue - if you add the code that's giving you the error to the support ticket, we might be able to do more debugging.

(in a pinch, I know a lot of people use google docs forms for holiday card info-gathering)
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2019-12-08 03:54 am (UTC)(link)
Could that (or something like it) also be the cause of the double notifications I (and IIRC some others) am getting (in both email and my DW inbox) for some things, most notably newsposts?
kalloway: A close-up of Rocbouquet from Romacing SaGa 2 (Default)

[personal profile] kalloway 2019-12-08 05:09 am (UTC)(link)
I get double newsposts but that's it, weirdly.

(no subject)

[personal profile] susanreads - 2019-12-08 15:33 (UTC) - Expand

(no subject)

[personal profile] pauamma - 2020-03-19 03:55 (UTC) - Expand
graildiary: (Default)

[personal profile] graildiary 2019-12-08 06:10 am (UTC)(link)
what if we still have accounts that are not receiving notifs, or accounts getting double notifs? i have filed support tickets about these issues in the past and received no response :/

(no subject)

[personal profile] graildiary - 2019-12-08 06:39 (UTC) - Expand

(no subject)

[personal profile] graildiary - 2019-12-08 07:30 (UTC) - Expand

(no subject)

[personal profile] kore - 2019-12-08 16:01 (UTC) - Expand
darjeeling: » yuu-icons (MOVIE | friends in fuzzy places)

[personal profile] darjeeling 2019-12-08 06:10 am (UTC)(link)
This problem has been plaguing some of my RP journals for over two years, I could kiss you right now for having fixed it. Thank you!!

(no subject)

[personal profile] darjeeling - 2019-12-08 06:18 (UTC) - Expand
ct_7567: (Default)

[personal profile] ct_7567 2019-12-09 05:13 am (UTC)(link)
Thanks for your hard work!

I've still been getting notifications sporadically and unpredictably - some have come in that are brand new while I know of older comments I got no notifications for and which haven't been showing up in my DW Inbox either.
tessitura: proverbially @ dw (MISC ‣‣ { cat })

[personal profile] tessitura 2019-12-09 01:41 pm (UTC)(link)
Seconding [personal profile] ct_7567 above
their_nando: (Default)

[personal profile] their_nando 2019-12-09 05:31 pm (UTC)(link)
Is this possibly why I'm receiving "This protected entry is viewable by community members only. Membership to this community is closed." errors when I or any other members try to post to a community that I run? It's been happening for a few days now and it's very frustrating.
momijizukamori: (tits against the rte)

[personal profile] momijizukamori 2019-12-09 07:59 pm (UTC)(link)
Highly unlikely, but we've been having some issues with the form auth check (which is basically a small security check that happens on form submission) on random forms failing, for reasons that are not yet clear.

It may be worth trying to toggle the beta entry page (https://www.dreamwidth.org/beta) and seeing if posting from the other entry page form works, as they have different form flows.

(no subject)

[personal profile] their_nando - 2019-12-09 20:06 (UTC) - Expand

(no subject)

[personal profile] momijizukamori - 2019-12-09 20:15 (UTC) - Expand

(no subject)

[personal profile] momijizukamori - 2019-12-09 23:17 (UTC) - Expand

(no subject)

[personal profile] their_nando - 2019-12-09 23:59 (UTC) - Expand

(no subject)

[personal profile] momijizukamori - 2019-12-10 04:13 (UTC) - Expand
lb_lee: A pink sketchy heart (heart)

[personal profile] lb_lee 2019-12-10 02:12 am (UTC)(link)
This wasn't a problem I had, but thanks much for wading in and taking on what sounds like a mucky awful problem!
rosegardenfae: (Default)

[personal profile] rosegardenfae 2019-12-10 02:28 pm (UTC)(link)
Thanks for the fix. I was missing lots of notifications.
doranwen: female nerds, rare and precious (Default)

[personal profile] doranwen 2019-12-10 09:18 pm (UTC)(link)
I'm getting a lot of notification comments that are empty. Like, the subject line is blank, and the contents are a couple of bullet points (without any text next to them) and the following:


--
Dreamwidth Team
Dreamwidth Studios


If you'd rather not get these updates, you can change your preferences at https://www.dreamwidth.org/manage/settings/?cat=notifications


At the same time, I'm not getting some notifications that I should. Pretty sure these are all notifications of moderated submissions to the community I'm moderating, which is active right now.