Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-7656

CVS Log write-lock-file implementation leads to trouble....

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.4
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Basically, when you set the path to the log file, Jira wont create any directories that are required - so you tend to put all the cvs log files in the same directory.

      However, the write-lock-file implementation :

      final Lock lock = getLock(logFile.getParentFile().getAbsolutePath());

      means that the lock-file then becomes global - for all cvs-logs - .... because all log files are in the same directory

      You want to:
      1) create any directories that are required when saving the log file
      2) make the lock-file name contain the log-file name - so that each cvs-log file has its own lock file.... even if they are all in the same directory

      Attachments

        Issue Links

          Activity

            People

              dylan@atlassian.com Dylan Etkin [Atlassian]
              3b1ae0ec93c9 Nick Minutello
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: