mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-06 04:45:36 +00:00
Have syncfiles attempt to preserve more
We cannot preserve symlinks (since we need them intact), but we can use other rsync features to make synchronization work better by default.
This commit is contained in:
@ -97,7 +97,7 @@ def sync_list_to_node(sl, node, suffixes):
|
||||
os.path.join(targdir, suffixes['merge']), True)
|
||||
sshutil.prep_ssh_key('/etc/confluent/ssh/automation')
|
||||
output = subprocess.check_output(
|
||||
['rsync', '-rvL', targdir + '/', 'root@{}:/'.format(node)], timeout=86400)
|
||||
['rsync', '-rvLpgotDAX', targdir + '/', 'root@{}:/'.format(node)], timeout=86400)
|
||||
except Exception as e:
|
||||
if 'CalledProcessError' not in repr(e):
|
||||
# https://github.com/eventlet/eventlet/issues/413
|
||||
|
Reference in New Issue
Block a user