You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2008/02/06 16:52:28 UTC
[jira] Closed: (MRM-414) Don't queue a request to scan a repository
that is currently being scanned
[ http://jira.codehaus.org/browse/MRM-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wendy Smoak closed MRM-414.
---------------------------
Resolution: Fixed
Fix Version/s: (was: 1.1)
1.0.1
This has already been fixed. In 1.0.1 if I click "Scan Repository Now" twice, I see the following in the log:
[ActionError] Repository [snapshots] task was already queued.
> 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
> Fix For: 1.0.1
>
>
> 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