[
https://issues.apache.org/jira/browse/QPID-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101121#comment-14101121
]
ASF subversion and git services commented on QPID-6015:
-------------------------------------------------------
Commit 1618712 from [~aconway] in branch 'qpid/trunk'
[ https://svn.apache.org/r1618712 ]
QPID-6015: HA Python QMF console raises exception due to HA subscriptions.
One of the arguments in a HA subscription (qpid.ha-ids) is binary encoded data,
however it was being passed as a string type in the arguments map. This caused
python qmf console clients to choke when they tried to utf-decode the data.
Fix is to pass the data using the vbin32 type which is intended for binary data.
> HA Python QMF console raises exception due to HA subscriptions.
> ---------------------------------------------------------------
>
> Key: QPID-6015
> URL: https://issues.apache.org/jira/browse/QPID-6015
> Project: Qpid
> Issue Type: Bug
> Components: C++ Clustering
> Affects Versions: 0.28
> Reporter: Alan Conway
> Assignee: Alan Conway
>
> A python qmf console that queries subscriptions can crash when used with a HA
> cluster.
> To reproduce:
> 1. Start a 3 node HA cluster
> 2. qpid-send -b 20.0.20.200 -m 1000 -a 'qq;{create:always}'
> 3. Kill the primary, let the cluster fail over.
> 4. qpid-stat -u -b 20.0.20.200
> Result:
> Failed: IndexError - pop from empty list
> Expected result:
> No error.
> See also: https://bugzilla.redhat.com/show_bug.cgi?id=1117708
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]