qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim van der Riet (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (QPID-6757) [linearstore] Add qpid-txtest mode to qpid-qls-analyze which extracts message number from message body
Date Tue, 29 Sep 2015 21:46:04 GMT

    [ https://issues.apache.org/jira/browse/QPID-6757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935940#comment-14935940
] 

Kim van der Riet edited comment on QPID-6757 at 9/29/15 9:45 PM:
-----------------------------------------------------------------

Commit: svn r.1705310 Fri Sep 25 14:16:41 2015

The commit comment accidentally used QPID-6765 (a typo) which did not exist at the time of
committing.

This checkin implements a {{\-\-txtest}} option for the qpid-qls-analyze utility which isolates
the {{msg-NNN\0}} content of the messages being analyzed to make it easier to see which message
numbers are present.




was (Author: kpvdr):
Commit: svn r.1705310 Fri Sep 25 14:16:41 2015

The commit comment accidentally used QPID-6765 (a typo) which did not exist at the time of
committing.

This checkin implements a --txtest option for the qpid-qls-analyze utility which isolates
the {{msg-NNN\0}} content of the messages being analyzed to make it easier to see which message
numbers are present.



> [linearstore] Add qpid-txtest mode to qpid-qls-analyze which extracts message number
from message body
> ------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6757
>                 URL: https://issues.apache.org/jira/browse/QPID-6757
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Python Tools
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>            Priority: Minor
>
> When analysing linearstore journals using qpid-qls-analyze, it would be useful to be
able to see the message number which this test inserts into the message body. When qpid-txtest
fails, it reports these message numbers when they are either missing or duplicated.
> To be able to usefully analyze a journal from this test, it is necessary to be able to
view this message number. However, qpid-qls-analyze does not have any mechanism to display
the message content except as part of a binary dump of which only the first and last 10 bytes
are displayed with an ellipsis:
> {{data(164)='\00\00\00p\0b\01\00\15\00\01 ... MNOPQRSTUV'}}
> By adding a command-line flag {{\-\-txtest}}, qpid-qls-analyze would search the data
for the string "msg-" and display the message number:
> {{data(164)='msg-1086'}}
> which is embedded in the binary and would normally be difficult to recover.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message