Setting the receiver timeout for replication agents
Task
Set receiver timeout.
Solution
Since version 4.2.2 there is an ability to specify a timeout for data transfer by replication agents. The default value is 60 minutes.
The timeout parameter is stored in etcd. To configure it, use the following commands:
- kubectl exec -ti etcd-0 -- etcdctl mkdir /agent_specific
- kubectl exec -ti etcd-0 -- etcdctl set /agent_specific/network_timeout <VALUE>
<VALUE> represents the timeout duration in minutes. If the parameter is defined in etcd, the setting automatically applies to all newly launched agents. Alternatively, the timeout must be set manually for each agent.
To set the timeout manually, edit the appropriate configuration file:
- /hx/agent.conf — for external agents.
- /etc/hystax/acura/repman.conf — for internal Linux agents.
- C:\ProgramData\Hystax\acura\repman.conf — for internal Windows agents.
Locate or add the network_timeout parameter and specify the desired value (in minutes).
Save and restart the agent.