Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-344

More robust handling of previous versions of the configuration files

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta3
    • None
    • Domain Management
    • None

      Currently when an update is made to the configuration, we copy the config file to ".lastknowngood" and write a new version. We need something more sophisticated than that.

      1) The original version of present on server start should be saved as .original.
      2) We should keep a proper versioned history (standalone.xml.v1, standalone.xml.v2 etc)
      3) Keep a standalone.xml.last which is the same as the current standalone.xml. This can be used to detect (via file timestamps) changes to standalone.xml made while the server is offline – such change results in a new .original.
      4) We need to create proper semantics for the ".lastknowngood" notion, or scrap it. Right now it's just the previous version of the file, which may or may not have been "good".

              kkhan1@redhat.com Kabir Khan
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: