Bug 1152012 - [linearstore] missing journal id in "trace Mgmt create journal." log
Summary: [linearstore] missing journal id in "trace Mgmt create journal." log
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 3.0
Hardware: All
OS: Linux
low
low
Target Milestone: 3.2
: ---
Assignee: Pavel Moravec
QA Contact: Jiri Prajzner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-13 10:58 UTC by Pavel Moravec
Modified: 2019-08-15 04:00 UTC (History)
3 users (show)

Fixed In Version: qpid-cpp-0.32-1
Doc Type: Bug Fix
Doc Text:
It was discovered that the broker log did not initially log the journal ID in the log entry. While the journal ID in the relevant QMF object was confirmed to be set properly after the fact, the log was not indicating this was the case. A fix to how the log entry is created now correctly inserts the journal name.
Clone Of:
Environment:
Last Closed: 2015-10-08 13:09:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-6147 0 None None None Never
Red Hat Product Errata RHEA-2015:1879 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.2 Release 2015-10-08 17:07:53 UTC

Description Pavel Moravec 2014-10-13 10:58:14 UTC
Description of problem:
When creating a journal in linearstore, broker logs:

2014-10-13 10:35:32 [Model] trace Mgmt create journal. id:

without the queue name as expected id.

The journal name / id in the relevant QMF object is set properly later on (see qpid-tool -> list journal), it is just missing in the trace log.


Version-Release number of selected component (if applicable):
qpid-cpp 0.22-49


How reproducible:
100%


Steps to Reproduce:
1. qpidd --log-enable=trace+:qmf::org::apache::qpid::linearstore::Journal::Journal

2. (in 2nd terminal) qpid-config add queue Durable --durable

3. (in 1st terminal): check output; restart broker & check output


Actual results:
2014-10-13 12:55:28 [Model] trace Mgmt create journal. id:

(without "Durable" as the id)
(both when created via qpid-config and after restart)


Expected results:
2014-10-13 12:55:28 [Model] trace Mgmt create journal. id:Durable

(both when created via qpid-config and after restart)


Additional info:

Comment 1 Pavel Moravec 2014-10-13 12:25:16 UTC
Committed revision 1631360.

Comment 3 Jiri Prajzner 2015-07-23 12:56:10 UTC
List of installed packages:
yum list installed "*qpid*"
qpid-cpp-client.x86_640.34-1.el7
qpid-cpp-client-devel.x86_64 0.34-1.el7
qpid-cpp-client-devel-docs.noarch 0.34-1.el7
qpid-cpp-client-rdma.x86_64 0.34-1.el7
qpid-cpp-debuginfo.x86_64 0.34-1.el7
qpid-cpp-server.x86_64 0.34-1.el7
qpid-cpp-server-devel.x86_64 0.34-1.el7
qpid-cpp-server-ha.x86_64 0.34-1.el7
qpid-cpp-server-linearstore.x86_64 0.34-1.el7
qpid-cpp-server-rdma.x86_64 0.34-1.el7
qpid-qmf.x86_64 0.34-1.el7
qpid-qmf-debuginfo.x86_64 0.34-1.el7
qpid-qmf-devel.x86_64 0.34-1.el7
qpid-tools.noarch 0.34-1.el7

Platforms:
i686, x86_64

RHELs:
6.7, 7.1

Comment 4 Jiri Prajzner 2015-08-18 10:12:00 UTC
tested with version 0.32

Comment 6 errata-xmlrpc 2015-10-08 13:09:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-1879.html


Note You need to log in before you can comment on or make changes to this bug.