jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Updated] (OAK-6909) FileStore.compact does not persist compacted head to journal
Date Mon, 06 Nov 2017 16:41:00 GMT

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

Michael Dürig updated OAK-6909:
-------------------------------
    Fix Version/s:     (was: 1.7.11)
                   1.7.12
                   1.8

> FileStore.compact does not persist compacted head to journal
> ------------------------------------------------------------
>
>                 Key: OAK-6909
>                 URL: https://issues.apache.org/jira/browse/OAK-6909
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: compaction, gc
>             Fix For: 1.8, 1.7.12
>
>
> When {{FileStore.compact()}} returns the {{journal.log}} does not necessarily contain
the head created by the compactor. This can lead to problems downstream like e.g. in OAK-6894
where the compactor tool wrote the wrong (i.e. uncompacted) head to the {{journal.log}}. 
> Proposed fix is to call on of the {{FileStore.flush()}} methods after compaction and
add a test case that verifies the {{journal.log}} contains the correct head state. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message