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

dm precheck only check LightningTableEmptyChecking will failure #11945

Open
River2000i opened this issue Dec 27, 2024 · 0 comments
Open

dm precheck only check LightningTableEmptyChecking will failure #11945

River2000i opened this issue Dec 27, 2024 · 0 comments
Labels
area/dm Issues or PRs related to DM. type/bug The issue is confirmed as a bug.

Comments

@River2000i
Copy link
Contributor

River2000i commented Dec 27, 2024

What did you do?

creata all task with

ignore-checking-items: ["empty_region", "region_distribution", "downstream_version", "free_space", "downstream_mutex_features"]

except "LightningTableEmptyChecking"

What did you expect to see?

precheck success

What did you see instead?

[2024/12/27 15:51:15.064 +08:00] [WARN] [pd_service_discovery.go:843] ["[pd] failed to get cluster id"] [url=https://noop:2379] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE: error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE"]
[2024/12/27 15:51:16.059 +08:00] [WARN] [pd_service_discovery.go:843] ["[pd] failed to get cluster id"] [url=https://noop:2379] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE: error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE"]
[2024/12/27 15:51:17.059 +08:00] [WARN] [pd_service_discovery.go:843] ["[pd] failed to get cluster id"] [url=https://noop:2379] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE: error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE"]
[2024/12/27 15:51:18.060 +08:00] [WARN] [pd_service_discovery.go:843] ["[pd] failed to get cluster id"] [url=https://noop:2379] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE: error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE"]
[2024/12/27 15:51:19.060 +08:00] [WARN] [pd_service_discovery.go:843] ["[pd] failed to get cluster id"] [url=https://noop:2379] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE: error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE"]
[2024/12/27 15:51:20.060 +08:00] [WARN] [pd_service_discovery.go:843] ["[pd] failed to get cluster id"] [url=https://noop:2379] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE: error:rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: lookup noop: no such host\" target:noop:2379 status:TRANSIENT_FAILURE"]

if lightningCheckGroupOnlyTableEmpty(c.checkingItems) {
lCfg.TiDB.PdAddr = "noop:2379"
}
set pd address to noop

// LightningPrechecks returns all checking items for lightning.
var LightningPrechecks = []string{
LightningEmptyRegionChecking,
LightningRegionDistributionChecking,
LightningDownstreamVersionChecking,
LightningFreeSpaceChecking,
LightningMutexFeatureChecking,
LightningTableEmptyChecking,
}

Versions of the cluster

DM version (run dmctl -V or dm-worker -V or dm-master -V):

(paste DM version here, and you must ensure versions of dmctl, DM-worker and DM-master are same)

Upstream MySQL/MariaDB server version:

(paste upstream MySQL/MariaDB server version here)

Downstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

How did you deploy DM: tiup or manually?

(leave TiUP or manually here)

Other interesting information (system version, hardware config, etc):

>
>

current status of DM cluster (execute query-status <task-name> in dmctl)

(paste current status of DM cluster here)
@River2000i River2000i added area/dm Issues or PRs related to DM. type/bug The issue is confirmed as a bug. labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dm Issues or PRs related to DM. type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

1 participant