drs__UpdateStartPosition
Updates the start position for a DRS incremental task using source file/position or MySQL GTID set, so replication can resume from a chosen database point.
Instructions
[DRS] 更新增量任务的启动位点。
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": {
"file_and_position": "<file_and_position>",
"job_id": "<job_id>",
"project_id": "<project_id>"
},
"name": "drs__UpdateStartPosition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | 任务ID。 | |
| gtid_set | No | MySQL为源的任务需要,通过show master status命令获取源库位点,根据提示填写Executed_Gtid_Set(如果源库为MySQL 5.5版本,则不支持使用同步任务)。 | |
| project_id | Yes | 租户在某一Region下的Project ID。 | |
| file_and_position | Yes | - MySQL为源通过show master status命令获取源库位点,根据提示分别填写File:Position。例如:mysql-bin.000277:805 |