You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2011/08/04 20:22:27 UTC

[jira] [Created] (QPID-3394) Broker "leaks" messages that require async completion.

Broker "leaks" messages that require async completion.
------------------------------------------------------

                 Key: QPID-3394
                 URL: https://issues.apache.org/jira/browse/QPID-3394
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.11, 0.12
            Reporter: Ken Giusti
            Assignee: Ken Giusti
            Priority: Blocker
             Fix For: 0.12


The fix for QPID-3252 introduced a bug where messages that require async completion (ie. durable, or flow controlled) are incorrectly stored by the broker until the sender sends an explicit flush.  This can cause a excessive amount of memory to be consumed by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3394) Broker "leaks" messages that require async completion.

Posted by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079526#comment-13079526 ] 

jiraposter@reviews.apache.org commented on QPID-3394:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1292/#review1293
-----------------------------------------------------------

Ship it!


- Gordon


On 2011-08-04 18:28:10, Kenneth Giusti wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/1292/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-08-04 18:28:10)
bq.  
bq.  
bq.  Review request for qpid and Gordon Sim.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Bug occurred due to state change in object -without- updating the clone of the object.   The clone "lost" the state change, and the message was not correctly cleaned up.  This change introduces a proper copy constructor and creates the copy after all state has been updated.
bq.  
bq.  
bq.  This addresses bug qpid-3394.
bq.      https://issues.apache.org/jira/browse/qpid-3394
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/qpid/cpp/src/qpid/broker/SessionState.h 1153918 
bq.    /trunk/qpid/cpp/src/qpid/broker/SessionState.cpp 1153918 
bq.  
bq.  Diff: https://reviews.apache.org/r/1292/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  in progress.
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Kenneth
bq.  
bq.



> Broker "leaks" messages that require async completion.
> ------------------------------------------------------
>
>                 Key: QPID-3394
>                 URL: https://issues.apache.org/jira/browse/QPID-3394
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.12, 0.13
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Blocker
>             Fix For: 0.12, 0.13
>
>         Attachments: membloat.patch
>
>
> The fix for QPID-3252 introduced a bug where messages that require async completion (ie. durable, or flow controlled) are incorrectly stored by the broker until the sender sends an explicit flush.  This can cause a excessive amount of memory to be consumed by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (QPID-3394) Broker "leaks" messages that require async completion.

Posted by "Ken Giusti (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti resolved QPID-3394.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.12)

Kim validated the fix against his test setup.

> Broker "leaks" messages that require async completion.
> ------------------------------------------------------
>
>                 Key: QPID-3394
>                 URL: https://issues.apache.org/jira/browse/QPID-3394
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.12, 0.13
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Blocker
>             Fix For: 0.13
>
>         Attachments: membloat.patch
>
>
> The fix for QPID-3252 introduced a bug where messages that require async completion (ie. durable, or flow controlled) are incorrectly stored by the broker until the sender sends an explicit flush.  This can cause a excessive amount of memory to be consumed by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3394) Broker "leaks" messages that require async completion.

Posted by "Justin Ross (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross updated QPID-3394:
------------------------------

    Fix Version/s: 0.12

Reviewed by Gordon Sim.  Approved for inclusion in 0.12.

> Broker "leaks" messages that require async completion.
> ------------------------------------------------------
>
>                 Key: QPID-3394
>                 URL: https://issues.apache.org/jira/browse/QPID-3394
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.12, 0.13
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Blocker
>             Fix For: 0.12, 0.13
>
>         Attachments: membloat.patch
>
>
> The fix for QPID-3252 introduced a bug where messages that require async completion (ie. durable, or flow controlled) are incorrectly stored by the broker until the sender sends an explicit flush.  This can cause a excessive amount of memory to be consumed by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3394) Broker "leaks" messages that require async completion.

Posted by "Ken Giusti (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080085#comment-13080085 ] 

Ken Giusti commented on QPID-3394:
----------------------------------

Request to merge this fix onto 0.12 branch.

> Broker "leaks" messages that require async completion.
> ------------------------------------------------------
>
>                 Key: QPID-3394
>                 URL: https://issues.apache.org/jira/browse/QPID-3394
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.12, 0.13
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Blocker
>             Fix For: 0.13
>
>         Attachments: membloat.patch
>
>
> The fix for QPID-3252 introduced a bug where messages that require async completion (ie. durable, or flow controlled) are incorrectly stored by the broker until the sender sends an explicit flush.  This can cause a excessive amount of memory to be consumed by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3394) Broker "leaks" messages that require async completion.

Posted by "Ken Giusti (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti updated QPID-3394:
-----------------------------

    Attachment: membloat.patch

Proposed fix.

> Broker "leaks" messages that require async completion.
> ------------------------------------------------------
>
>                 Key: QPID-3394
>                 URL: https://issues.apache.org/jira/browse/QPID-3394
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.11, 0.12
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Blocker
>             Fix For: 0.12
>
>         Attachments: membloat.patch
>
>
> The fix for QPID-3252 introduced a bug where messages that require async completion (ie. durable, or flow controlled) are incorrectly stored by the broker until the sender sends an explicit flush.  This can cause a excessive amount of memory to be consumed by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3394) Broker "leaks" messages that require async completion.

Posted by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079515#comment-13079515 ] 

jiraposter@reviews.apache.org commented on QPID-3394:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1292/
-----------------------------------------------------------

Review request for qpid and Gordon Sim.


Summary
-------

Bug occurred due to state change in object -without- updating the clone of the object.   The clone "lost" the state change, and the message was not correctly cleaned up.  This change introduces a proper copy constructor and creates the copy after all state has been updated.


This addresses bug qpid-3394.
    https://issues.apache.org/jira/browse/qpid-3394


Diffs
-----

  /trunk/qpid/cpp/src/qpid/broker/SessionState.h 1153918 
  /trunk/qpid/cpp/src/qpid/broker/SessionState.cpp 1153918 

Diff: https://reviews.apache.org/r/1292/diff


Testing
-------

in progress.


Thanks,

Kenneth



> Broker "leaks" messages that require async completion.
> ------------------------------------------------------
>
>                 Key: QPID-3394
>                 URL: https://issues.apache.org/jira/browse/QPID-3394
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.12, 0.13
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Blocker
>             Fix For: 0.12, 0.13
>
>         Attachments: membloat.patch
>
>
> The fix for QPID-3252 introduced a bug where messages that require async completion (ie. durable, or flow controlled) are incorrectly stored by the broker until the sender sends an explicit flush.  This can cause a excessive amount of memory to be consumed by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3394) Broker "leaks" messages that require async completion.

Posted by "Justin Ross (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross updated QPID-3394:
------------------------------

    Affects Version/s:     (was: 0.11)
                       0.13
        Fix Version/s: 0.13

> Broker "leaks" messages that require async completion.
> ------------------------------------------------------
>
>                 Key: QPID-3394
>                 URL: https://issues.apache.org/jira/browse/QPID-3394
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.12, 0.13
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Blocker
>             Fix For: 0.12, 0.13
>
>         Attachments: membloat.patch
>
>
> The fix for QPID-3252 introduced a bug where messages that require async completion (ie. durable, or flow controlled) are incorrectly stored by the broker until the sender sends an explicit flush.  This can cause a excessive amount of memory to be consumed by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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