You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andy Goldstein (Created) (JIRA)" <ji...@apache.org> on 2012/04/17 22:11:17 UTC

[jira] [Created] (QPID-3954) Durable option for qpid-cpp-benchmark does not create durable queues like it should

Durable option for qpid-cpp-benchmark does not create durable queues like it should
-----------------------------------------------------------------------------------

                 Key: QPID-3954
                 URL: https://issues.apache.org/jira/browse/QPID-3954
             Project: Qpid
          Issue Type: Bug
            Reporter: Andy Goldstein
            Priority: Minor
         Attachments: QPID-3954.patch

Running the following command should test using durable queues (based on the description of the --durable option):

qpid-cpp-benchmark --ack-frequency=1000 --content-size 4096 -m 20000 --durable

Unfortunately, the queue that is created (benchmark-0), is not created as durable.  This can be verified with the --no-delete option:

qpid-config queues
Queue Name                                Attributes
=================================================================
acfefc4c-fde2-4abb-82b3-94a9db84f729:0.0  auto-del excl 
benchmark-0                               

Although the start_receive() method attempts to make the queue durable, it looks like it is too late at this point, as I believe the queue gets created earlier, when recreate_queues() is called.

I'm attaching a patch that updates the logic in recreate_queues to support durable queues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-3954) Durable option for qpid-cpp-benchmark does not create durable queues like it should

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

Andy Goldstein updated QPID-3954:
---------------------------------

    Attachment: QPID-3954.patch
    
> Durable option for qpid-cpp-benchmark does not create durable queues like it should
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-3954
>                 URL: https://issues.apache.org/jira/browse/QPID-3954
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Andy Goldstein
>            Priority: Minor
>         Attachments: QPID-3954.patch
>
>
> Running the following command should test using durable queues (based on the description of the --durable option):
> qpid-cpp-benchmark --ack-frequency=1000 --content-size 4096 -m 20000 --durable
> Unfortunately, the queue that is created (benchmark-0), is not created as durable.  This can be verified with the --no-delete option:
> qpid-config queues
> Queue Name                                Attributes
> =================================================================
> acfefc4c-fde2-4abb-82b3-94a9db84f729:0.0  auto-del excl 
> benchmark-0                               
> Although the start_receive() method attempts to make the queue durable, it looks like it is too late at this point, as I believe the queue gets created earlier, when recreate_queues() is called.
> I'm attaching a patch that updates the logic in recreate_queues to support durable queues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-3954) Durable option for qpid-cpp-benchmark does not create durable queues like it should

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

Andy Goldstein updated QPID-3954:
---------------------------------

    Attachment: QPID-3954.patch
    
> Durable option for qpid-cpp-benchmark does not create durable queues like it should
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-3954
>                 URL: https://issues.apache.org/jira/browse/QPID-3954
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Andy Goldstein
>            Priority: Minor
>         Attachments: QPID-3954.patch
>
>
> Running the following command should test using durable queues (based on the description of the --durable option):
> qpid-cpp-benchmark --ack-frequency=1000 --content-size 4096 -m 20000 --durable
> Unfortunately, the queue that is created (benchmark-0), is not created as durable.  This can be verified with the --no-delete option:
> qpid-config queues
> Queue Name                                Attributes
> =================================================================
> acfefc4c-fde2-4abb-82b3-94a9db84f729:0.0  auto-del excl 
> benchmark-0                               
> Although the start_receive() method attempts to make the queue durable, it looks like it is too late at this point, as I believe the queue gets created earlier, when recreate_queues() is called.
> I'm attaching a patch that updates the logic in recreate_queues to support durable queues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-3954) Durable option for qpid-cpp-benchmark does not create durable queues like it should

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

Andy Goldstein updated QPID-3954:
---------------------------------

    Attachment:     (was: QPID-3954.patch)
    
> Durable option for qpid-cpp-benchmark does not create durable queues like it should
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-3954
>                 URL: https://issues.apache.org/jira/browse/QPID-3954
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Andy Goldstein
>            Priority: Minor
>         Attachments: QPID-3954.patch
>
>
> Running the following command should test using durable queues (based on the description of the --durable option):
> qpid-cpp-benchmark --ack-frequency=1000 --content-size 4096 -m 20000 --durable
> Unfortunately, the queue that is created (benchmark-0), is not created as durable.  This can be verified with the --no-delete option:
> qpid-config queues
> Queue Name                                Attributes
> =================================================================
> acfefc4c-fde2-4abb-82b3-94a9db84f729:0.0  auto-del excl 
> benchmark-0                               
> Although the start_receive() method attempts to make the queue durable, it looks like it is too late at this point, as I believe the queue gets created earlier, when recreate_queues() is called.
> I'm attaching a patch that updates the logic in recreate_queues to support durable queues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org