You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2014/11/12 19:44:34 UTC

[jira] [Updated] (QPID-6224) Inappropriate use Environment.cleanLog in the BDB store

     [ https://issues.apache.org/jira/browse/QPID-6224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-6224:
-----------------------------
    Fix Version/s: 0.31

> 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org