Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2490

Add new attribute "atomic" attribute in body copy_from

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Promise type: files
    • Labels:
      None

      Description

      If a recursive copy_from fails or gets corrupted, then half of the files will be in a good state, and half will be old.

      We should have an atomic attribute that copies in a temporary subdirectory, verifies the copy (if verify=>"true") and as last step it atomically moves it over the destination directory.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10003 Eystein Maloy Stenberg
                Reporter:
                a10038 jimis (Dimitrios Apostolou)
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel