You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2016/10/10 17:27:20 UTC

[jira] [Created] (INFRA-12742) lists.apache.org - some emails can fail to be stored

Sebb created INFRA-12742:
----------------------------

             Summary: lists.apache.org - some emails can fail to be stored
                 Key: INFRA-12742
                 URL: https://issues.apache.org/jira/browse/INFRA-12742
             Project: Infrastructure
          Issue Type: Bug
          Components: Mail Archives
            Reporter: Sebb


The id generator currently used by lists.apache.org - medium - can generate the same id for multiple distinct e-mails. This is because it only takes note of the body, date and list id.

For some examples of such emails, see the test mails sent to dev@ponymail.

http://mail-archives.apache.org/mod_mbox/incubator-ponymail-dev/201610.mbox/%3C20161008231922.B59DE198E2%40minotaur.apache.org%3E
http://mail-archives.apache.org/mod_mbox/incubator-ponymail-dev/201610.mbox/%3C20161008231922.B8533198E4%40minotaur.apache.org%3E
http://mail-archives.apache.org/mod_mbox/incubator-ponymail-dev/201610.mbox/%3C20161008231922.BA980198E8%40minotaur.apache.org%3E

http://mail-archives.apache.org/mod_mbox/incubator-ponymail-dev/201610.mbox/%3C20161008231922.BB727198E9%40minotaur.apache.org%3E
http://mail-archives.apache.org/mod_mbox/incubator-ponymail-dev/201610.mbox/%3C20161008231922.BDCE5198ED%40minotaur.apache.org%3E
http://mail-archives.apache.org/mod_mbox/incubator-ponymail-dev/201610.mbox/%3C20161008231922.BD099198EB%40minotaur.apache.org%3E

Note that Pony Mail only shows one of each such message.

These mails were specially constructed to show the problem.
However there are automated messages which differ only by their subjects.
For example, messages with subjects such as 

Buildbot configuration back to normal for flex.conf

which are sent by the buildbot.
It's possible that two such messages could be sent with the same timestamp.

[Note that the 'full' id generator would avoid this particular problem. However it creates different ids for identical mails if they are added to the database via different routes.]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)