Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-15549

"Non-atomic" warning messages on Windows when updating confluence.cfg.xml

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.10, 5.3.4, 5.5, 5.5.2, 5.7.1, 5.9.9
    • Fix Version/s: 6.0.2
    • Component/s: None
    • Symptom Severity:
      Major
    • Support reference count:
      8

      Description

      Example message:

      [atlassian.config.xml.AbstractDom4jXmlConfigurationPersister] saveDocumentAtomically Unable to move D:\confluence\data-2.10.2\confluence.cfg.xml9070676172658464167tmp to 
      D:\confluence\data-2.10.2\confluence.cfg.xml. Falling back to non-atomic overwrite.

      Atomic file updates seem to be reasonably close to impossible on Windows. We should suppress this warning message (as it's not something the admin can do anything about). Ultimately, we should also fix CONF-8898 to make the update process safer, but that is not covered by this issue.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                21 Vote for this issue
                Watchers:
                26 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  37 weeks, 3 days ago