qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-6224) Inappropriate use Environment.cleanLog in the BDB store leaves unnecessarily large transaction logs
Date Thu, 13 Nov 2014 12:06:34 GMT

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

Alex Rudyy resolved QPID-6224.
------------------------------
    Resolution: Fixed

The changes look reasonable to me

> Inappropriate use Environment.cleanLog in the BDB store leaves unnecessarily large transaction
logs
> ---------------------------------------------------------------------------------------------------
>
>                 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


Mime
View raw message