mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-23 01:53:28 +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:
parent
3b7e7afc24
commit
e52a9ff70f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user