Keith Wall created QPID-6224:
--------------------------------
Summary: Inappropriate use Environment.cleanLog in the BDB store
Key: QPID-6224
URL: https://issues.apache.org/jira/browse/QPID-6224
Project: Qpid
Issue Type: Bug
Components: Java Broker
Affects Versions: 0.30, 0.28, 0.12
Reporter: Keith Wall
Assignee: Keith Wall
The BDB store uses JE's Environment.cleanLog() on closing a virtualhost in
order to ensure that the transaction log is clean, that is the redundancy is
removed and it occupies as little space as possible.
JE's javadoc makes specific recommendations about how this method is to be used
(cleaner thread shutdown and perform a checkpoint), but the BDB coding does not
heed this advice.
https://docs.oracle.com/cd/E17277_02/html/java/com/sleepycat/je/Environment.html#cleanLog()
This has been seen to leave behind very large transaction logs. These slow
startup time and in the HA case, can mean that nodes are forced to ship
(network restore) more data than is necessary across the network.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]