Page MenuHomePhabricator

Multiple duplicate identical email notifications (enotif) being sent by job queue
Closed, ResolvedPublic

Description

Talk notifications produce double email notifications (confirmed by para, Sudoking and me), or even quadruple (harriv).
Emails have different id but it's the same server producing the multiple output.


Version: 1.15.x
Severity: normal

Details

Reference
bz17620

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:35 PM
bzimport added a project: MediaWiki-Email.
bzimport set Reference to bz17620.

Confirmed in Wikimedia or in other MediaWiki installations too?

Wiki.Melancholie wrote:

*** Bug 17725 has been marked as a duplicate of this bug. ***

Wiki.Melancholie wrote:

From bug 17725:

Tisza Gergő wrote:

Some emails about changed talk pages arrive twice, with different message ids.
(Also, they are apparently held up for hours at wiki-mail.wikimedia.org.) An
example (from hu.wikipedia, User:Bitman):

Date: Sat, 28 Feb 2009 18:06:47 +0000
Message-Id: <E1LdTaJ-0005r9-Dg@mchenry.wikimedia.org>

Date: Sat, 28 Feb 2009 18:06:46 +0000
Message-Id: <E1LdTaI-0005pq-4C@mchenry.wikimedia.org>

Roan Kattouw wrote:

I'm getting watchlist (not user talk page) notifications from Meta twice too.
Don't have any message IDs lying around though, because I deleted all those
notification e-mails.

herd wrote:

A better improved redundant repeating summary, easier to find in search, I sure couldn't find this bug without being told the number.

Niklas Laxström wrote:

Confirmed in Wikimedia or in other MediaWiki installations too?

Shouldn't the component be changed to Wikimedia if this is just Wikimedia? Can anyone duplicate locally?

  • Bug 17084 has been marked as a duplicate of this bug. ***

I tried it on mediawiki.org and I didn't get a duplicate. How often does this happen? Can someone provide a more detailed case, including diff URL?

I tried it on mediawiki.org and I didn't get a duplicate. How often does this
happen? Can someone provide a more detailed case, including diff URL?

On all wiki with watchlist email enabled, with every watchlisted page.
I got this on Meta for example:

http://meta.wikimedia.org/w/index.php?title=Global_rollback&diff=0&oldid=1375503
Received: from srv155.pmtpa.wmnet ([10.0.2.155]:36637)
by mchenry.wikimedia.org with smtp (Exim 4.69)
(envelope-from <wiki@wikimedia.org>)
id 1LjDh3-0004WJ-FZ
at 16 Mar 2009 14:21:30 +0000
and
Received: from srv155.pmtpa.wmnet ([10.0.2.155]:36693)
by mchenry.wikimedia.org with smtp (Exim 4.69)
(envelope-from <wiki@wikimedia.org>)
id 1LjDh4-0004Wx-Ic
at 16 Mar 2009 14:21:31 +0000

or on azwiki http://az.wikipedia.org/wiki/%C4%B0stifad%C9%99%C3%A7i_m%C3%BCzakir%C9%99si:Melos
Received: from srv158.pmtpa.wmnet ([10.0.2.158]:43333)
by mchenry.wikimedia.org with smtp (Exim 4.69)
(envelope-from <wiki@wikimedia.org>)
id 1Li5Qb-000318-3H
Received: by srv158.pmtpa.wmnet (sSMTP sendmail emulation); Fri, 13 Mar 2009 11:19:49 +0000
and
Received: from srv158.pmtpa.wmnet ([10.0.2.158]:43398)
by mchenry.wikimedia.org with smtp (Exim 4.69)
(envelope-from <wiki@wikimedia.org>)
id 1Li5Qc-00031O-4o
Received: by srv158.pmtpa.wmnet (sSMTP sendmail emulation); Fri, 13 Mar 2009 11:19:50 +0000

Re comment #8: did the edit summary and username in the email match the history entry?

Fixed in r48505. MediaWiki was sending duplicate emails unconditionally, the problems with reproducing this bug were most likely due to duplicate filtering downstream, causing emails sent in the same second to be merged.