You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2009/12/15 11:13:18 UTC

[jira] Created: (QPID-2275) Time based roll over with DatePattern can result in log loss.

Time based roll over with DatePattern can result in log loss.
-------------------------------------------------------------

                 Key: QPID-2275
                 URL: https://issues.apache.org/jira/browse/QPID-2275
             Project: Qpid
          Issue Type: Sub-task
    Affects Versions: M4, M3, M2.1, M2, M1
            Reporter: Martin Ritchie
             Fix For: 0.6


When the log file rolls over it will be named according to DatePattern, it will also however rollover based on that DatePattern. So if the log fills its max size within that DatePattern the old backup file will be overwritten.

FIX: a .n value should be appended to the file so that we can have log files with DatePattern 'YYYY' resulting in log files 2009.0, 2009.1, 2009.2, ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2275) Time based roll over with DatePattern can result in log loss.

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-2275:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> Time based roll over with DatePattern can result in log loss.
> -------------------------------------------------------------
>
>                 Key: QPID-2275
>                 URL: https://issues.apache.org/jira/browse/QPID-2275
>             Project: Qpid
>          Issue Type: Sub-task
>    Affects Versions: M1, M2, M2.1, M3, M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: 0.6
>
>
> When the log file rolls over it will be named according to DatePattern, it will also however rollover based on that DatePattern. So if the log fills its max size within that DatePattern the old backup file will be overwritten.
> FIX: a .n value should be appended to the file so that we can have log files with DatePattern 'YYYY' resulting in log files 2009.0, 2009.1, 2009.2, ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2275) Time based roll over with DatePattern can result in log loss.

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791460#action_12791460 ] 

Martin Ritchie commented on QPID-2275:
--------------------------------------

Changes committed to trunk and manually tested by running broker and ensuring correct files were created.

> Time based roll over with DatePattern can result in log loss.
> -------------------------------------------------------------
>
>                 Key: QPID-2275
>                 URL: https://issues.apache.org/jira/browse/QPID-2275
>             Project: Qpid
>          Issue Type: Sub-task
>    Affects Versions: M1, M2, M2.1, M3, M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: 0.6
>
>
> When the log file rolls over it will be named according to DatePattern, it will also however rollover based on that DatePattern. So if the log fills its max size within that DatePattern the old backup file will be overwritten.
> FIX: a .n value should be appended to the file so that we can have log files with DatePattern 'YYYY' resulting in log files 2009.0, 2009.1, 2009.2, ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2275) Time based roll over with DatePattern can result in log loss.

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791463#action_12791463 ] 

Martin Ritchie commented on QPID-2275:
--------------------------------------

Changes merged to 0.5.x-dev at r891340.

> Time based roll over with DatePattern can result in log loss.
> -------------------------------------------------------------
>
>                 Key: QPID-2275
>                 URL: https://issues.apache.org/jira/browse/QPID-2275
>             Project: Qpid
>          Issue Type: Sub-task
>    Affects Versions: M1, M2, M2.1, M3, M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: 0.6
>
>
> When the log file rolls over it will be named according to DatePattern, it will also however rollover based on that DatePattern. So if the log fills its max size within that DatePattern the old backup file will be overwritten.
> FIX: a .n value should be appended to the file so that we can have log files with DatePattern 'YYYY' resulting in log files 2009.0, 2009.1, 2009.2, ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Assigned: (QPID-2275) Time based roll over with DatePattern can result in log loss.

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie reassigned QPID-2275:
------------------------------------

    Assignee: Martin Ritchie

> Time based roll over with DatePattern can result in log loss.
> -------------------------------------------------------------
>
>                 Key: QPID-2275
>                 URL: https://issues.apache.org/jira/browse/QPID-2275
>             Project: Qpid
>          Issue Type: Sub-task
>    Affects Versions: M1, M2, M2.1, M3, M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: 0.6
>
>
> When the log file rolls over it will be named according to DatePattern, it will also however rollover based on that DatePattern. So if the log fills its max size within that DatePattern the old backup file will be overwritten.
> FIX: a .n value should be appended to the file so that we can have log files with DatePattern 'YYYY' resulting in log files 2009.0, 2009.1, 2009.2, ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org