Discussion:
[jira] [Created] (MRM-1927) Deleting files from repository in filesystem confuses Archiva
Marco Herrn (JIRA)
2016-09-28 10:56:20 UTC
Permalink
Marco Herrn created MRM-1927:
--------------------------------

Summary: Deleting files from repository in filesystem confuses Archiva
Key: MRM-1927
URL: https://issues.apache.org/jira/browse/MRM-1927
Project: Archiva
Issue Type: Bug
Components: repository scanning
Affects Versions: 2.2.0
Environment: Linux
Reporter: Marco Herrn


Archiva seems to have a problem when files and/or directories from its repository are deleted.

I see lots of exceptions and such messages in the archiva.log:

2016-09-22 17:08:02,435 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
[] - failed to read bundle: b9706fc7-846b-4dab-bac3-7a734136dbf8:
java.io.EOFException
2016-09-22 17:08:02,477 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
[] - failed to read bundle: b9706fc7-846b-4dab-bac3-7a734136dbf8:
java.io.EOFException
2016-09-22 17:08:02,528 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
[] - failed to read bundle: b9706fc7-846b-4dab-bac3-7a734136dbf8:
java.io.EOFException
2016-09-22 17:08:02,549 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
[] - failed to read bundle: 27c8fb7c-b9ef-4b6c-9b59-565d71f51ce5:
java.io.EOFException

The system seems to be scanning the repository forever now and never really gets into a consistent state.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Martin Stockhammer (JIRA)
2016-10-16 17:50:22 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Stockhammer reassigned MRM-1927:
---------------------------------------

Assignee: Martin Stockhammer
Post by Marco Herrn (JIRA)
Deleting files from repository in filesystem confuses Archiva
-------------------------------------------------------------
Key: MRM-1927
URL: https://issues.apache.org/jira/browse/MRM-1927
Project: Archiva
Issue Type: Bug
Components: repository scanning
Affects Versions: 2.2.0
Environment: Linux
Reporter: Marco Herrn
Assignee: Martin Stockhammer
Labels: maven
Archiva seems to have a problem when files and/or directories from its repository are deleted.
2016-09-22 17:08:02,435 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
2016-09-22 17:08:02,477 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
2016-09-22 17:08:02,528 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
2016-09-22 17:08:02,549 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
The system seems to be scanning the repository forever now and never really gets into a consistent state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Martin Stockhammer (JIRA)
2016-10-16 17:50:22 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15580300#comment-15580300 ]

Martin Stockhammer commented on MRM-1927:
-----------------------------------------

BundleFsPersistenceManager has no consistency check flag that can be activated for the startup (other persistencemanagers do have such a feature).

Should at least add rest method (and additionally a button to repository view) that forces the consistency check.
Post by Marco Herrn (JIRA)
Deleting files from repository in filesystem confuses Archiva
-------------------------------------------------------------
Key: MRM-1927
URL: https://issues.apache.org/jira/browse/MRM-1927
Project: Archiva
Issue Type: Bug
Components: repository scanning
Affects Versions: 2.2.0
Environment: Linux
Reporter: Marco Herrn
Labels: maven
Archiva seems to have a problem when files and/or directories from its repository are deleted.
2016-09-22 17:08:02,435 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
2016-09-22 17:08:02,477 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
2016-09-22 17:08:02,528 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
2016-09-22 17:08:02,549 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
The system seems to be scanning the repository forever now and never really gets into a consistent state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Martin Stockhammer (JIRA)
2017-12-12 18:10:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Stockhammer updated MRM-1927:
------------------------------------
Fix Version/s: 3.0.0
Post by Marco Herrn (JIRA)
Deleting files from repository in filesystem confuses Archiva
-------------------------------------------------------------
Key: MRM-1927
URL: https://issues.apache.org/jira/browse/MRM-1927
Project: Archiva
Issue Type: Bug
Components: repository scanning
Affects Versions: 2.2.0
Environment: Linux
Reporter: Marco Herrn
Assignee: Martin Stockhammer
Labels: maven
Fix For: 3.0.0
Archiva seems to have a problem when files and/or directories from its repository are deleted.
2016-09-22 17:08:02,435 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
2016-09-22 17:08:02,477 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
2016-09-22 17:08:02,528 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
2016-09-22 17:08:02,549 [pool-6-thread-1] ERROR
org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager
java.io.EOFException
The system seems to be scanning the repository forever now and never really gets into a consistent state.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Loading...