BigMemory 4.4.0 | Product Documentation | BigMemory Max High-Availability Guide | Configuring Reconnection and Rejoin Properties | Automatic Server Instance Reconnect
 
Automatic Server Instance Reconnect
An automatic reconnect mechanism can prevent short network disruptions from forcing a restart for any Terracotta server instances in a server array with hot standbys. If not disabled, this mechanism is by default in effect in clusters set to networked-based HA mode.
Note:
Increased Time-to-Failover - This feature increases time-to-failover by the timeout value set for the automatic reconnect mechanism.
This event-based reconnection mechanism works independently and exclusively of HealthChecker. If HealthChecker has already been triggered, this mechanism cannot be triggered for the same node. If this mechanism is triggered first by an internal Terracotta event, HealthChecker is prevented from being triggered for the same node. The events that can trigger this mechanism are not exposed by API but are logged.
Configure the following properties for the reconnect mechanism:
*l2.nha.tcgroupcomm.reconnect.enabled - (DEFAULT: true) When set to "true" enables a server instance to attempt reconnection with its peer server instance after a disconnection is detected. Most use cases should benefit from enabling this setting.
*l2.nha.tcgroupcomm.reconnect.timeout - Enabled if l2.nha.tcgroupcomm.reconnect.enabled is set to true. Specifies the timeout (in milliseconds) for reconnection. Default: 2000. This parameter can be tuned to handle longer network disruptions.