TencentDB for Redis® provides the automatic failback feature for instances deployed across AZs. After the feature is enabled, if the master node is switched from the master AZ or master node group (cluster architecture) to another AZ or group after a failover occurs, it will be automatically switched back, simplifying subsequent Ops operations. You can enable or disable this feature by setting a database parameter.
Master AZ
You can deploy nodes of a TencentDB for Redis® instance in master and replica AZs. The automatic failback is enabled by default. If the master node is switched from the master AZ or master node group (cluster architecture) to another AZ or group after a failover occurs, it will be automatically switched back after all of the failed nodes are replaced.
You can specify the master AZ when creating an instance. Or, you can manually promote a replica AZ to master after the instance is created (after a replica node/node group is promoted to master, its AZ will become the master AZ).
Enabling/Disabling automatic failback
You can manage the automatic failback feature with a database parameter. The feature is enabled by default. Enabling/disabling it does not affect your access to Redis.
2. Above the instance list, select the region.
3. In the instance list, find the target instance.
4. Click the target instance ID to enter the Instance Details page.
5. On the Instance Details page, select the Parameter Settings tab.
6. On the Parameter Settings tab, click the Modifiable Parameters tab, find auto-failback
in the parameter list, and set it to yes
.
Was this page helpful?