Tair (Redis OSS-compatible) lets you change the instance architecture between standard (master-replica) and cluster.
Billing
If you change the configurations of a pay-as-you-go instance, you are charged based on the new specifications. If you change the configurations of a subscription instance, you are charged or are refunded the difference in cost based on whether you upgrade or downgrade the configurations.
For more information about the billing rules for configuration changes and the refund rules for configuration downgrades, see Configuration changes.
Change from standard (master-replica) to cluster
Impacts
The endpoints, accounts, passwords, and whitelists remain unchanged: You do not need to modify your application code after the change is complete.
Data is typically not lost: However, in the rare event that the original primary node fails during the switchover, a small amount of unsynchronized data may be lost.
One to two transient disconnections that last less than 30 seconds each: The instance experiences one to two transient disconnections, each lasting less than 30 seconds. Ensure that your application has a reconnection mechanism.
Read-only state for about one minute: The instance enters a read-only state for about one minute. This allows the new instance to synchronize with incremental data from the original instance and prevents data dual-write issues caused by DNS cache. For instances with high write workloads, the read-only period may be longer.
Lua scripts may be lost: The cluster architecture has certain limits on the use of Lua scripts. Lua scripts that do not meet these conditions may be lost when you change the instance architecture. Back up your scripts before you proceed. For more information, see Special limits on cluster instances.
More command limitations apply: The cluster architecture does not support some commands. Before you change the instance architecture, evaluate the impact of these command limitations on your business. For more information, see Command limitations for cluster instances.
The instance is upgraded to the latest minor version: To ensure optimal performance and stability, the system upgrades the instance to the latest minor version during the change if it is running an earlier version. Minor versions are forward-compatible, so this upgrade will not cause compatibility issues.
Limitations
If read/write splitting is enabled, you must first disable it.
Child instances of a distributed instance do not support architecture changes.
Tair (Enterprise Edition) SSD-based instances do not support architecture changes.
Procedure
Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click the instance ID.
For a subscription instance, click in the upper-right corner. For a pay-as-you-go instance, click in the upper-right corner.
On the specification change page, select the required configurations, and then click Buy Now.
Pay attention to the Switching Time parameter:
Switch after Data Migration: The system switches to the new node immediately after data migration is complete.
Switch Within Maintenance Window (Recommended): The system switches to the new node during the maintenance window (off-peak hours). Before the instance switchover, you can go to the Task Hub in the console and click Modify Switchover Time next to the corresponding task to change the switchover time.
Complete the payment process as prompted.
After you submit the request, the instance status immediately changes to Adjusting configuration, regardless of the Switching Time you selected. This does not affect the services provided by the instance. The system first prepares for the change, such as requesting resources and synchronizing data. Transient disconnections occur only when the system switches over to the new node.
Notes after the change:
The connection mode is proxy mode by default. You can view the number of client connections on the monitoring page of the proxy node. The number of connections to data nodes is displayed as 0.
Alert settings will be disabled, and the existing application groups in Cloud Monitor may also be disabled. To continue using these features, you must reconfigure them.
The data flashback feature will be disabled. To continue using this feature, you must reconfigure it.
Change from cluster to standard (master-replica)
Impacts
The endpoints, accounts, passwords, and whitelists remain unchanged: You do not need to modify your application code after the change is complete.
Data is typically not lost: However, in the rare event that the original primary node fails during the switchover, a small amount of unsynchronized data may be lost.
One to two transient disconnections that last less than 30 seconds each: The instance experiences one to two transient disconnections, each lasting less than 30 seconds.
Read-only state for about one minute: The instance enters a read-only state for about one minute. This allows the new instance to synchronize with incremental data from the original instance and prevents data dual-write issues caused by DNS cache. For instances with high write workloads, the read-only period may be longer.
The instance is upgraded to the latest minor version: To ensure optimal performance and stability, the system upgrades the instance to the latest minor version during the change if it is running an earlier version. Minor versions are forward-compatible, so this upgrade will not cause compatibility issues.
Limitations
If read/write splitting is enabled, you must first disable it.
Cluster instances in direct connection mode do not support architecture changes.
Tair (Enterprise Edition) SSD-based instances do not support architecture changes.
Procedure
Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click the instance ID.
For a subscription instance, click in the upper-right corner. For a pay-as-you-go instance, click in the upper-right corner.
On the specification change page, select the required configurations, and then click Buy Now.
Pay attention to the Switching Time parameter:
Switch after Data Migration: The system switches to the new node immediately after data migration is complete.
Switch During Maintenance Window (Recommended): The switchover to the new node is performed during the maintenance window (off-peak hours). Before the instance switchover, you can change the switchover time in the Task Hub of the console by clicking Modify Switchover Time next to the corresponding task.
Complete the payment process as prompted.
After you submit the request, the instance status immediately changes to Adjusting configuration, regardless of the Switching Time you selected. This does not affect the services provided by the instance. The system first prepares for the change, such as requesting resources and synchronizing data. Transient disconnections occur only when the system switches over to the new node.
Notes after the change:
Alert settings will be disabled, and the existing application groups in Cloud Monitor may also be disabled. To continue using these features, you must reconfigure them.
The data flashback feature will be disabled. To continue using this feature, you must reconfigure it.
