Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-331

Make DefaultTrackingFileManager write directly to tracking files

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.5
    • 1.9.6
    • Resolver
    • None

    Description

      Resolver recently introduced file collocation that is write to an adjecent temp file and then atomically move to the target file. It turned out that on Windows, when the target file is written with a high frequency the system fails to move in time and it causes an AccessDeniedException, there is no known workaround with current Java code.
      Since tracking files are written very often for the same artifact this creates a bottleneck. We need to resort to write to the file directly for now, although it just affects Windows.

      Pending: Report to the OpenJDK team

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: