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] [Resolved] (OAK-5069) Backup fails when called from RepositoryManagementMBean#startBackup
Date Mon, 14 Nov 2016 12:40:59 GMT

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

Michael Dürig resolved OAK-5069.
--------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.6)

Fixed at http://svn.apache.org/viewvc?rev=1769614&view=rev
Thanks [~dulceanu] for the patch!

> Backup fails when called from RepositoryManagementMBean#startBackup
> -------------------------------------------------------------------
>
>                 Key: OAK-5069
>                 URL: https://issues.apache.org/jira/browse/OAK-5069
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>    Affects Versions: 1.5.12
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>             Fix For: 1.5.14
>
>         Attachments: OAK-5069-01.patch, OAK-5069-02.patch
>
>
> When calling {{RepositoryManagementMBean.startBackup}}, the operation fails with the
following stacktrace:
> {code:java}
> 04.11.2016 13:12:56.733 *ERROR* [qtp2039314079-250] org.apache.jackrabbit.oak.management.ManagementOperation
Backup failed
> java.lang.IllegalStateException: /repository/segmentstore is in use by another store.
>         at org.apache.jackrabbit.oak.segment.file.FileStore.<init>(FileStore.java:168)
>         at org.apache.jackrabbit.oak.segment.file.FileStoreBuilder.build(FileStoreBuilder.java:304)
>         at org.apache.jackrabbit.oak.backup.impl.FileStoreBackupImpl.backup(FileStoreBackupImpl.java:65)
>         at org.apache.jackrabbit.oak.backup.impl.FileStoreBackupRestoreImpl$1.call(FileStoreBackupRestoreImpl.java:102)
>         at org.apache.jackrabbit.oak.backup.impl.FileStoreBackupRestoreImpl$1.call(FileStoreBackupRestoreImpl.java:97)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.nio.channels.OverlappingFileLockException: null
>         at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
>         at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
>         at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:1062)
>         at java.nio.channels.FileChannel.lock(FileChannel.java:1053)
>         at org.apache.jackrabbit.oak.segment.file.FileStore.<init>(FileStore.java:166)
>         ... 8 common frames omitted
> {code}
> /cc [~mduerig]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message