Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engine: failed to materialize task status after the task finished #7945

Open
buchuitoudegou opened this issue Dec 20, 2022 · 3 comments
Open
Assignees
Labels
area/engine Issues or PRs related to Dataflow Engine. severity/minor type/bug The issue is confirmed as a bug.

Comments

@buchuitoudegou
Copy link
Contributor

  1. Create full mode dm job
  2. Get job by GetJob
  3. job.Detail => jobStatus

jobStatus.taskStatus["mysql-replica-01"].status:

&{ErrorMsg:client mysql-replica-01 not found Unit: Stage: Result:<nil> Status:[110 117 108 108] IoTotalBytes:0 DumpIOTotalBytes:0}
@buchuitoudegou
Copy link
Contributor Author

/area engine
/type bug
/severity minor

@ti-chi-bot ti-chi-bot added area/engine Issues or PRs related to Dataflow Engine. type/bug The issue is confirmed as a bug. severity/minor labels Dec 20, 2022
@buchuitoudegou
Copy link
Contributor Author

@GMHDBJD PTAL

@GMHDBJD GMHDBJD self-assigned this Dec 20, 2022
@GMHDBJD
Copy link
Contributor

GMHDBJD commented Dec 20, 2022

{
    "job_id": "fec9eb43-98dc-4bcf-aae1-38bd289fb832",
    "task_status": {
        "mysql-replica-01": {
            "expected_stage": "Running",
            "worker_id": "140c8462-1436-4373-9f03-47cdc54949f7",
            "config_outdated": false,
            "status": {
                "error_message": "client is finished before receiving response",
                "unit": "",
                "stage": "",
                "result": null,
                "status": null,
                "io_total_bytes": 0
            },
            "duration": 3994677572
        }
    },
    "finished_unit_status": {
        "mysql-replica-01": [
            {
                "Unit": "DMDumpTask",
                "Task": "mysql-replica-01",
                "Stage": "Finished",
                "CfgModRevision": 0,
                "StageUpdatedTime": "2022-12-20T14:11:57.054896694Z",
                "Result": {},
                "Status": {
                    "totalTables": 1,
                    "completedTables": 1,
                    "finishedBytes": 64,
                    "finishedRows": 1,
                    "estimateTotalRows": 1,
                    "bps": 398,
                    "progress": "100.00 %"
                },
                "Duration": 3523384690
            },
            {
                "Unit": "DMLoadTask",
                "Task": "mysql-replica-01",
                "Stage": "Finished",
                "CfgModRevision": 0,
                "StageUpdatedTime": "2022-12-20T14:12:01.054749639Z",
                "Result": {},
                "Status": {
                    "finishedBytes": 64,
                    "totalBytes": 64,
                    "progress": "100.00 %",
                    "metaBinlog": "(ON.000003, 1694)",
                    "metaBinlogGTID": "259f6c3c-8070-11ed-b5c3-0242c0a8e004:1-13",
                    "bps": 81
                },
                "Duration": 3988188129
            }
        ]
    }
}

can finished_unit_status meet expectation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issues or PRs related to Dataflow Engine. severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

3 participants