Archiva
  1. Archiva
  2. MRM-1374

Temporary directories created during remote proxy (when build was suddenly suspended in the middle of downloading artifacts) are not cleaned up

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: remote proxy
    • Labels:
      None

      Description

      To reproduce this issue:

      1. Using the default configuration with repository 'internal' proxying 'central', set repository 'internal' as your mirror. Lock Maven to use only this with <mirrorOf>*</mirrorOf>
      2. Clean up your local repository
      • Build any project. In the middle of a download, disable your internet connection.

      Notice that the temporary working directory (ex. .workingdirectory4849954836595460673.tmp) is present in repository 'internal'. Try enabling your net connection again and build your project. The temporary working directory in 'internal' created from your previous download would still be there even after your project has already been built.

      This should be cleaned up after a certain time has passed during proxying or by a clean up consumer/plugin.

        Issue Links

          Activity

          Maria Odea Ching created issue -
          Maria Odea Ching made changes -
          Field Original Value New Value
          Link This issue relates to MRM-1347 [ MRM-1347 ]
          Brett Porter made changes -
          Fix Version/s 1.4 [ 16133 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Fix Version/s 2.0.1 [ 16133 ]
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Olivier Lamy [ olamy ]
          Resolution Incomplete [ 4 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:30:08 UTC 2015 [ 1428222608952 ]
          Mark Thomas made changes -
          Workflow jira [ 12708190 ] Default workflow, editable Closed status [ 12737684 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:01:51 UTC 2015 [ 1428267711911 ]
          Mark Thomas made changes -
          Workflow jira [ 12945763 ] Default workflow, editable Closed status [ 12983031 ]

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Maria Odea Ching
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development