Skip to content

Commit

Permalink
fix: decrease ctrlr_loss_timeout_sec for base bdev
Browse files Browse the repository at this point in the history
Longhorn 9874

Signed-off-by: Derek Su <[email protected]>
  • Loading branch information
derekbit committed Nov 28, 2024
1 parent c396ae7 commit 90aec42
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ const (
ShallowCopyStateError = "error"

DefaultCtrlrLossTimeoutSec = 30
// DefaultReconnectDelaySec can't be more than DefaultFastIoFailTimeoutSec, same for non-default values.
// DefaultReconnectDelaySec can't be more than DefaultFastIOFailTimeoutSec.
DefaultReconnectDelaySec = 2
DefaultFastIOFailTimeoutSec = 15

DefaultReplicaCtrlrLossTimeoutSec = 15
// DefaultReplicaReconnectDelaySec can't be more than DefaultReplicaFastIOFailTimeoutSec.
DefaultReplicaReconnectDelaySec = 2
DefaultReplicaFastIOFailTimeoutSec = 10

// DefaultTransportAckTimeout value is not the timeout second.
// The timeout formula is 2^(transport_ack_timeout) msec.
// DefaultTransportAckTimeout is 14, so the default timeout is 2^14 = 16384 msec = 16.384 sec.
Expand Down

0 comments on commit 90aec42

Please sign in to comment.