www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-12079) lists.apache.org - some mails appear in the wrong month
Date Sat, 11 Jun 2016 14:42:21 GMT

    [ https://issues.apache.org/jira/browse/INFRA-12079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325886#comment-15325886

ASF GitHub Bot commented on INFRA-12079:

GitHub user sebbASF opened an issue:


    Bug: emails allocated to wrong month

    Emails which are sent within a few hours of the end of a month may be incorrectly allocated
to the subsequent month.
    For example, the earliest emails in the following mbox should be in the May 2015 chunk.
    The displayed timestamp shows the date 2015-05-31 (assuming that the local TZ is no further
east than GMT+1)
    These mails were uploaded from a file, if that makes a difference.
    It looks like the mails were allocated to a month based on a local timezone at least 2
hours before GMT.
    It does not make sense to use the local timezone for this. The database should work in
UTC only.
    If necessary, the display can show times using the local timezone, but the underlying
data should only be stored in UTC.
    I found one place where localtime is used in the backend code:
    This would probably cause the upload issue.
    See also https://issues.apache.org/jira/browse/INFRA-12079



> lists.apache.org - some mails appear in the wrong month
> -------------------------------------------------------
>                 Key: INFRA-12079
>                 URL: https://issues.apache.org/jira/browse/INFRA-12079
>             Project: Infrastructure
>          Issue Type: Planned Work
>          Components: Mail Archives
>            Reporter: Sebb
>            Priority: Minor
> Some mails shown by lists.apache.org are shown in the wrong month.
> For example commons-notifications has the following counts in mail-archives [1]
> Jun 2015 20
> May 2015 330
> Whereas lists.a.o [2] shows the following:
> Jun 2015 70
> May 2015 280
> There are 50 mails in June which should have been added to May.
> These have timestamps betwee
> Date: Sun, 31 May 2015 22:19:41 -0000
> and
> Date: Sun, 31 May 2015 22:24:05 -0000
> which are clearly still in May.
> Looks like something went wrong with the upload to Pony Mail.
> [1] http://mail-archives.apache.org/mod_mbox/commons-notifications/
> [2] https://lists.apache.org/list.html?notifications@commons.apache.org:2015-6|5

This message was sent by Atlassian JIRA

View raw message