You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2009/09/14 18:25:58 UTC

[jira] Created: (QPID-2102) Exceeding reject queue policy under a transaction causes broker crash

Exceeding reject queue policy under a transaction causes broker crash 
----------------------------------------------------------------------

                 Key: QPID-2102
                 URL: https://issues.apache.org/jira/browse/QPID-2102
             Project: Qpid
          Issue Type: Bug
    Affects Versions: 0.5
            Reporter: Gordon Sim
             Fix For: 0.6


To reproduce:

Start a broker.
Use qpid-tool to create a queue with a reject policy and a count limit of 5.
Enqueue 10 records under a single transaction to that queue.
Prepare and commit the transaction.
Broker crashes.


-- 
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] Resolved: (QPID-2102) Exceeding reject queue policy under a transaction causes broker crash

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

Gordon Sim resolved QPID-2102.
------------------------------

    Resolution: Fixed

> Exceeding reject queue policy under a transaction causes broker crash 
> ----------------------------------------------------------------------
>
>                 Key: QPID-2102
>                 URL: https://issues.apache.org/jira/browse/QPID-2102
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Gordon Sim
>             Fix For: 0.6
>
>         Attachments: QPID-2102.patch
>
>
> To reproduce:
> Start a broker.
> Use qpid-tool to create a queue with a reject policy and a count limit of 5.
> Enqueue 10 records under a single transaction to that queue.
> Prepare and commit the transaction.
> Broker crashes.

-- 
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-2102) Exceeding reject queue policy under a transaction causes broker crash

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

Gordon Sim updated QPID-2102:
-----------------------------

    Attachment: QPID-2102.patch

Candidate fix, also addresses QPID-2101.

> Exceeding reject queue policy under a transaction causes broker crash 
> ----------------------------------------------------------------------
>
>                 Key: QPID-2102
>                 URL: https://issues.apache.org/jira/browse/QPID-2102
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Gordon Sim
>             Fix For: 0.6
>
>         Attachments: QPID-2102.patch
>
>
> To reproduce:
> Start a broker.
> Use qpid-tool to create a queue with a reject policy and a count limit of 5.
> Enqueue 10 records under a single transaction to that queue.
> Prepare and commit the transaction.
> Broker crashes.

-- 
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-2102) Exceeding reject queue policy under a transaction causes broker crash

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757925#action_12757925 ] 

Gordon Sim commented on QPID-2102:
----------------------------------

Also, the policy check incorrectly comes after the enqueue on disk.

> Exceeding reject queue policy under a transaction causes broker crash 
> ----------------------------------------------------------------------
>
>                 Key: QPID-2102
>                 URL: https://issues.apache.org/jira/browse/QPID-2102
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Gordon Sim
>             Fix For: 0.6
>
>
> To reproduce:
> Start a broker.
> Use qpid-tool to create a queue with a reject policy and a count limit of 5.
> Enqueue 10 records under a single transaction to that queue.
> Prepare and commit the transaction.
> Broker crashes.

-- 
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