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

ticdc mysql sink memory quota is always zero after inject pd leader networkpartition which will trigger pd leader change #8293

Closed
Lily2025 opened this issue Feb 17, 2023 · 5 comments

Comments

@Lily2025
Copy link

Lily2025 commented Feb 17, 2023

What did you do?

1、br restore 20000 warehouse to upstream and tidb downstream
2、create cdc changefeed with config
"replica_config": {
"ignore_ineligible_table": true,
"memory_quota": 2147483648
}
3、run tpcc with 32 threads
4、checkpoint lag got bigger and bigger
5、run ha-pdleader-to-all-network-partition-last-for-10m(pd change leader)
the time of pd leader changed : 2023-02-17 13:06
and this time ticdc0 restart abnormally(issue:https://github.com/pingcap/tiflow/issues/8170)

image

What did you expect to see?

ticdc mysql sink memory quota is normal as before
image

What did you see instead?

ticdc mysql sink memory quota is always zero after inject pd leader networkpartition which will trigger pd leader change

image

Versions of the cluster

sh-5.1# ./cdc version
Release Version: v6.6.0
Git Commit Hash: feae75e
Git Branch: heads/refs/tags/v6.6.0
UTC Build Time: 2023-02-15 15:38:00
Go Version: go version go1.19.5 linux/amd64
Failpoint Build: false

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

No response

@Lily2025 Lily2025 added area/dm Issues or PRs related to DM. type/bug The issue is confirmed as a bug. labels Feb 17, 2023
@Lily2025
Copy link
Author

/type bug
/severity major
/assign hicqu

@nongfushanquan
Copy link
Contributor

/close

@ti-chi-bot ti-chi-bot bot closed this as completed Jun 13, 2023
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Jun 13, 2023

@nongfushanquan: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@asddongmen
Copy link
Contributor

same as #8808

@nongfushanquan
Copy link
Contributor

/remove-label affects-7.1

@ti-chi-bot ti-chi-bot bot removed the affects-7.1 This bug affects the 7.1.x(LTS) versions. label Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment