[
http://jira.codehaus.org/browse/MRM-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99102
]
Joakim Erdfelt commented on MRM-414:
------------------------------------
That error/exception/stacktrace is related to MRM-369
There is detection already in place, but not only for "is it currently in the
queue", not for "is it currently running".
> Don't queue a request to scan a repository that is currently being scanned
> --------------------------------------------------------------------------
>
> Key: MRM-414
> URL: http://jira.codehaus.org/browse/MRM-414
> Project: Archiva
> Issue Type: Improvement
> Components: indexing
> Affects Versions: 1.0-alpha-1
> Reporter: Wendy Smoak
> Priority: Minor
>
> If a repository is currently being scanned when the 'Scan Repository Now'
> button is clicked, don't queue another request to scan it.
> Example:
> INFO | jvm 1 | 2007/06/10 21:00:09 | 728900 [SocketListener0-1] INFO
> com.opensymphony.xwork.Action:schedulerAction - [ActionMessage] Your request
> to have repository [central] be indexed has been queued.
> INFO | jvm 1 | 2007/06/10 21:00:09 | 728902 [pool-2-thread-1] INFO
> org.codehaus.plexus.taskqueue.execution.TaskExecutor:repository-scanning -
> Executing task from queue with job name: repository-job:central
> INFO | jvm 1 | 2007/06/10 21:00:09 | 728928 [pool-2-thread-1] INFO
> org.apache.maven.archiva.repository.scanner.RepositoryScanner:default - Walk
> Started: [central] file:/opt/central-repository/
> INFO | jvm 1 | 2007/06/10 21:01:08 | 788035 [SocketListener0-1] INFO
> com.opensymphony.xwork.Action:schedulerAction - [ActionMessage] Your request
> to have repository [central] be indexed has been queued.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira