[ https://issues.apache.org/jira/browse/QPID-6224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14208433#comment-14208433 ]
ASF subversion and git services commented on QPID-6224: ------------------------------------------------------- Commit 1638936 from [~k-wall] in branch 'qpid/trunk' [ https://svn.apache.org/r1638936 ] QPID-6224: [Java Broker] BDB / BDB-HA VH now cleans all log files and performs a BDB checkpoint. * Cleaner thread is disabled whilst manually clean is in operation. > 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.12, 0.28, 0.30 > Reporter: Keith Wall > Assignee: Keith Wall > Fix For: 0.31 > > > 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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org