dws__CancelReadonlyCluster
Restores write access by canceling a DWS cluster's read-only state, allowing database operations to resume after issues such as high disk usage are addressed.
Instructions
[DWS] 当集群进入只读状态时,无法进行数据库相关操作,用户可以在管理控制台解除集群的只读状态。触发只读状态可能是由于磁盘使用率过高,因此需要对集群数据进行清理或扩容。 - 解除只读支持1.7.2及以上版本。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>",
"project_id": "<project_id>"
},
"name": "dws__CancelReadonlyCluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | **参数解释**: | |
| project_id | Yes | **参数解释**: |