You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protocol, so you must set `Protocol:3` explicitly when you connect.
155
159
{{< /note >}}
156
160
157
-
The `hitless.Config` object accepts the following parameters:
161
+
The `maintnotifications.Config` object accepts the following parameters:
158
162
159
163
| Name | Description |
160
164
|------ |------------- |
161
-
|`Mode`| Whether or not to enable SCH. The options are `hitless.MaintNotificationsDisabled`, `hitless.MaintNotificationsEnabled` (require SCH and abort the connection if not supported), and `hitless.MaintNotificationsAuto` (require SCH and fall back to a non-SCH connection if not supported). The default is `hitless.MaintNotificationsAuto`. |
162
-
|`RelaxedTimeout`| The timeout to use for commands and connections while the server is performing maintenance. The default is 10 seconds. |
165
+
|`Mode`| Whether or not to enable SCH. The options are `ModeDisabled`, `ModeEnabled` (require SCH and abort the connection if not supported), and `ModeAuto` (require SCH and fall back to a non-SCH connection if not supported). The default is `ModeAuto`. |
166
+
|`EndpointType`| The type of endpoint to use for the connection. The options are `EndpointTypeExternalIP`, `EndpointTypeInternalIP`, `EndpointTypeExternalFQDN`, `EndpointTypeInternalFQDN`, `EndpointTypeAuto` (auto-detect based on connection), and `EndpointTypeNone` (reconnect with current config). The default is `EndpointTypeExternalIP`. |
163
167
|`HandoffTimeout`| The timeout to connect to the replacement node. The default is 15 seconds. |
168
+
|`RelaxedTimeout`| The timeout to use for commands and connections while the server is performing maintenance. The default is 10 seconds. |
169
+
|`PostHandoffRelaxedDuration`| The duration to continue using relaxed timeouts after a successful handoff (this provides extra resilience during cluster transitions). The default is 20 seconds. |
164
170
|`MaxHandoffRetries`| The maximum number of times to retry connecting to the replacement node. The default is 3. |
0 commit comments