Kim van der Riet created QPID-6757:
--------------------------------------
Summary: [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: [email protected]
For additional commands, e-mail: [email protected]