From 19ff8c116f182fc2c4951532e8048ba82f65f630 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Wed, 20 Nov 2019 07:09:38 +0100 Subject: [PATCH] marsadm: set default timeout from infinite to 600s --- userspace/marsadm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/userspace/marsadm b/userspace/marsadm index 5dabecc6..310598cd 100755 --- a/userspace/marsadm +++ b/userspace/marsadm @@ -116,7 +116,7 @@ my $backup_dir = "$mars/backups-" . time(); my $force = 0; my $ignore_sync = 0; my $cron_mode = 0; -my $timeout = -1; +my $timeout = 600; my $ip = ""; my $ssh_port = 22; my $ssh_opts = "-A -o StrictHostKeyChecking=no -o ConnectTimeout=5"; @@ -6559,10 +6559,13 @@ marsadm [] view[-] [ | all ] the next one is only created when the last one has at least size thresh-logsize (in units of GB). --timeout= - Abort safety checks after timeout with an error. + Current default: $timeout + Abort safety checks and waiting loops after timeout with an error. When giving 'all' as resource agument, this works for each resource independently. + The special value -1 means \"infinite\". --window= + Current default: $window Treat other cluster nodes as healthy when some communcation has occured during the given time window. --threshold=