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

add retry for CreateOrUpdateRegionLabelRule #48075

Closed
GMHDBJD opened this issue Oct 30, 2023 · 2 comments
Closed

add retry for CreateOrUpdateRegionLabelRule #48075

GMHDBJD opened this issue Oct 30, 2023 · 2 comments
Labels
affects-7.5 component/ddl This issue is related to DDL of TiDB. feature/developing the related feature is in development severity/major type/bug The issue is confirmed as a bug.

Comments

@GMHDBJD
Copy link
Contributor

GMHDBJD commented Oct 30, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  • injest io delay for pd to 500ms
  • run import into

2. What did you expect to see? (Required)

import suceesfully

3. What did you see instead (Required)

[2023/10/29 15:09:20.345 +08:00] [WARN] [pd.go:996] ["failed to create or update region label rule, will try next pd address"] [error="[503] no leader\n http://tc-pd-2.tc-pd-peer.endless-ha-test-import-into-tps-3570925-1-409.svc:2379/pd/api/v1/config/region-label/rule: [BR:PD:ErrPDInvalidResponse]PD invalid response"] [pdAddr=http://tc-pd-2.tc-pd-peer.endless-ha-test-import-into-tps-3570925-1-409.svc:2379]

4. What is your TiDB version? (Required)

master

@GMHDBJD GMHDBJD added the type/bug The issue is confirmed as a bug. label Oct 30, 2023
@lance6716
Copy link
Contributor

Hope PD client can provide a way to wait leader online, like tikv/pd#7063

@jebter jebter added severity/major feature/developing the related feature is in development component/ddl This issue is related to DDL of TiDB. affects-7.5 labels Oct 30, 2023
@ti-chi-bot ti-chi-bot bot added may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Oct 30, 2023
@ywqzzy
Copy link
Contributor

ywqzzy commented Nov 1, 2023

We may retry the subtask..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 component/ddl This issue is related to DDL of TiDB. feature/developing the related feature is in development severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

5 participants