You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2017/05/09 11:59:04 UTC
[jira] [Updated] (OAK-6193) IllegalStateException when closing the
FileStore during garbage collection
[ https://issues.apache.org/jira/browse/OAK-6193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig updated OAK-6193:
-------------------------------
Labels: gc (was: )
> IllegalStateException when closing the FileStore during garbage collection
> --------------------------------------------------------------------------
>
> Key: OAK-6193
> URL: https://issues.apache.org/jira/browse/OAK-6193
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-tar
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Labels: gc
> Fix For: 1.8
>
>
> When the file store is shut down during gc compaction is properly aborted. Afterwards it will trigger a cleanup cycle though, which runs concurrently to the proceeding shutdown potentially causing an {{ISE}}:
> {noformat}
> at com.google.common.base.Preconditions.checkState(Preconditions.java:134)
> at org.apache.jackrabbit.oak.segment.file.TarWriter.close(TarWriter.java:333)
> at org.apache.jackrabbit.oak.segment.file.TarWriter.createNextGeneration(TarWriter.java:376)
> at org.apache.jackrabbit.oak.segment.file.FileStore.newWriter(FileStore.java:682)
> at org.apache.jackrabbit.oak.segment.file.FileStore.access$1700(FileStore.java:100)
> at org.apache.jackrabbit.oak.segment.file.FileStore$GarbageCollector.cleanup(FileStore.java:1069)
> at org.apache.jackrabbit.oak.segment.file.FileStore$GarbageCollector.cleanupGeneration(FileStore.java:1195)
> at org.apache.jackrabbit.oak.segment.file.FileStore$GarbageCollector.run(FileStore.java:803)
> at org.apache.jackrabbit.oak.segment.file.FileStore.gc(FileStore.java:387)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)