Skip to content

Commit

Permalink
fd: fix failure detection bug (apache#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
hycdong authored and qinzuoyan committed Jan 7, 2019
1 parent 51ff5d3 commit e62f02c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion rdsn
2 changes: 1 addition & 1 deletion scripts/pegasus_rolling_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ if [ "$type" = "all" ]; then
echo "=================================================================="
echo "Rolling update meta servers and collectors..."
cd $minos_client_dir
./deploy rolling_update pegasus $cluster --skip_confirm --time_interval 10 $update_options --job meta collector
./deploy rolling_update pegasus $cluster --skip_confirm --time_interval 20 $update_options --job meta collector
cd $shell_dir
echo

Expand Down
6 changes: 3 additions & 3 deletions src/server/config-server.ini
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ disk_stat_disabled = false
disk_stat_interval_seconds = 600

fd_disabled = false
fd_check_interval_seconds = 5
fd_check_interval_seconds = 2
fd_beacon_interval_seconds = 3
fd_lease_seconds = 10
fd_grace_seconds = 15
fd_lease_seconds = 20
fd_grace_seconds = 22

log_private_file_size_mb = 32
log_private_batch_buffer_kb = 512
Expand Down
4 changes: 2 additions & 2 deletions src/server/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@
fd_disabled = false
fd_check_interval_seconds = 2
fd_beacon_interval_seconds = 3
fd_lease_seconds = 9
fd_grace_seconds = 10
fd_lease_seconds = 20
fd_grace_seconds = 22

log_private_file_size_mb = 32
log_private_batch_buffer_kb = 7
Expand Down
4 changes: 2 additions & 2 deletions src/server/test/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ gc_disk_error_replica_interval_seconds = 172800000
fd_disabled = false
fd_check_interval_seconds = 5
fd_beacon_interval_seconds = 3
fd_lease_seconds = 10
fd_grace_seconds = 15
fd_lease_seconds = 20
fd_grace_seconds = 22

log_private_file_size_mb = 32
log_private_batch_buffer_kb = 512
Expand Down

0 comments on commit e62f02c

Please sign in to comment.