Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENT-11988: Atomic copy_from in files promise #5611

Merged
merged 1 commit into from
Oct 10, 2024

Commits on Oct 9, 2024

  1. Atomic copy_from in files promise

    Changes to `files` promise in `copy_from` attribute:
    
    - The new file (i.e., `<FILENAME>.cfnew`) is now created with correct
      permission during remote copy. Previously it would be created with
      default permissions.
    - The destination file (i.e., `<FILENAME>`) is no longer deleted on
      backup during file copy.  Previously it would be renamed to
      `<FILENAME>.cfsaved`, causing the original file to dissappear. Now an
      actual copy of the original file with the same permissions is created
      instead.
    
    As a result, there will no longer be a brief moment where the original
    file is inaccessible.
    
    Ticket: ENT-11988
    Changelog: Commit
    Signed-off-by: Lars Erik Wik <[email protected]>
    larsewi committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    224ccc3 View commit details
    Browse the repository at this point in the history