Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.