When you create an instance, change the configurations of an instance, restart an instance, or upgrade the version of an instance, you can view the task progress and information on the Task Center page of the Tair (Redis OSS-compatible) console.
Procedure
Go to the Task Center page and select a region in the top navigation bar.
View task information.
You can filter tasks by task start time, keyword, or task status.
Supported task types
The following task types can be recorded in Task Center.
Cloud-native instances
Task | TaskType (API-returned state) | Description |
Create Instance | CreateIns | N/A |
Clear Data | FlushData | Clears all data. |
Clear Expired Data | ClearExpiredData | Clears expired data from a standard instance. |
Primary/Secondary Instance Switchover | HaSwitch | Performs a master-replica switchover on a standard instance. |
Switch Over Cluster | ClusterHaSwitch | Performs a master-replica switchover on a cluster or read/write splitting instance. Note The feature to change the switching time for cluster switching tasks is currently being upgraded and is not yet available. If you want to perform a switchover immediately, Submit a ticket . |
Restart Instance | RestartIns | Restarts an instance or updates the minor version of a cluster instance. Note The feature to change the switching time for restarting instances in a cluster with read/write splitting architecture is currently being upgraded and is not available. If you want to restart the instance immediately, Submit a ticket . |
Restart Proxy | RestartProxy | Restarts or rebuilds a proxy node. |
Add Shard | AddInsShards | Adds data shards to a cluster instance. |
Remove Shard | DeleteInsShards | Removes data shards from a cluster instance. |
Add Node | AddInsNode | Adds data nodes to a cluster instance or adds read replicas to a read/write splitting instance. |
Remove Node | DeleteInsNode | Removes data nodes from a cluster instance or removes read replicas from a read/write splitting instance. |
Upgrade Minor Version | KernelVersionUpgrade | Updates the minor version of an instance. |
Change Specifications or Migrate Data | ModifyInsSpec |
|
When you manually restart a cloud-native instance, the restart of the master node may be interpreted by the high availability system as an abnormal event. As a result, a master-replica switchover is triggered. This task is categorized as Primary/Secondary Instance Switchover or Switch Over Cluster.
When you upgrade the version of a cloud-native instance, the upgrade is performed on the original host. If the original host does not have sufficient resources, the instance is migrated to a new host. Therefore, the upgrade task may be categorized as Change Specifications or Migrate Data.
Classic instances
Task | TaskType (API-returned state) | Description |
Create Instance | CreateIns | N/A |
Restart Instance | RestartIns | Restarts a standard instance. |
Restart Proxy | RestartProxy | Restarts or rebuilds a proxy node. |
Change Configuration | ModifyInsConfig |
|
Change Network | ModifyNetwork | Modifies SSL configurations. |
Add Shard | AddInsShards | Adds data shards to a cluster instance in direct connection mode. You cannot separately change instance specifications. |
Remove Shard | DeleteInsShards | Removes data shards from a cluster instance in direct connection mode. You cannot separately change instance specifications. |
Switching time description
If you create tasks that involve maintenance operations related to switching (such as configuration modification, version upgrade, or restarting):
Click Switch Now to switch the task after the preparation is complete.
Click Switch within Maintenance Window (Recommended) to complete the preparations first and then proceed with the switching during the designated maintenance window.
If you want to switch outside of the maintenance window or at a more specific time, wait until the task status changes to Pending Schedule. At the desired switching time, on the Task Center page, click Modify switching time in the Actions column to change the switching time to Switch Immediately.
FAQ
Related API operations
API operation | Description |
Queries a list of tasks in the task center. |