| Summary: | Improve async store error messages for null .jinf file during recovery | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Kim van der Riet <kim.vdriet> |
| Component: | qpid-cpp | Assignee: | Kim van der Riet <kim.vdriet> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | Development | CC: | atangrin, iboverma, lzhaldyb, tross |
| Target Milestone: | 2.3 | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-20 14:46:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Kim van der Riet
2011-08-19 12:40:22 UTC
Added a new exception JERR_JINF_ZEROLENFILE which is thrown if the .jinf file is zero length. Also improved the format of the validation messages slightly, including an error which caused the full message to be truncated. Fixed in r.4471. For reference, the new error is formatted as follows: 2011-08-19 10:11:42 critical Unexpected error: Queue qpid-perftest0: recoverQueues() failed: jexception 0x0c0a jinf::read() threw JERR_JINF_ZEROLENFILE: Journal info file zero length (/path/to/jrnl//JournalData.jinf) (MessageStoreImpl.cpp:820) Fixed prior to 0.14 rebase CLOSED/CRELEASE -> ASSIGNED -> ON_QA The defect has to go through QA process. Tested on RHEL5.8 and RHEL6.2 on both main architectures (i386 and x86_64). Packages used for testing: RHEL6.2: python-qpid-0.14-7.el6_2 python-qpid-qmf-0.14-7.el6_2 qpid-cpp-client-0.14-14.el6_2 qpid-cpp-client-devel-0.14-14.el6_2 qpid-cpp-client-devel-docs-0.14-14.el6_2 qpid-cpp-server-0.14-14.el6_2 qpid-cpp-server-devel-0.14-14.el6_2 qpid-cpp-server-store-0.14-14.el6_2 qpid-cpp-server-xml-0.14-14.el6_2 qpid-java-client-0.14-3.el6 qpid-java-common-0.14-3.el6 qpid-java-example-0.14-3.el6 qpid-qmf-0.14-7.el6_2 qpid-tools-0.14-2.el6_2 RHEL5.8: python-qpid-0.14-6.el5 python-qpid-qmf-0.14-9.el5 qpid-cpp-client-0.14-14.el5 qpid-cpp-client-devel-0.14-14.el5 qpid-cpp-client-devel-docs-0.14-14.el5 qpid-cpp-client-ssl-0.14-14.el5 qpid-cpp-server-0.14-14.el5 qpid-cpp-server-cluster-0.14-14.el5 qpid-cpp-server-devel-0.14-14.el5 qpid-cpp-server-ssl-0.14-14.el5 qpid-cpp-server-store-0.14-14.el5 qpid-cpp-server-xml-0.14-14.el5 qpid-java-client-0.14-3.el5 qpid-java-common-0.14-3.el5 qpid-java-example-0.14-3.el5 qpid-qmf-0.14-9.el5 qpid-qmf-devel-0.14-9.el5 qpid-tools-0.14-2.el5 qpidd is throwing the exception JERR_JINF_ZEROLENFILE now in case *.jinf file has zero length. -> VERIFIED |