Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-414

Don't queue a request to scan a repository that is currently being scanned

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-alpha-1
    • 1.0.1
    • indexing
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wsmoak Wendy Smoak
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: