ticdc mysql sink memory quota is always zero after inject pd leader networkpartition which will trigger pd leader change #8293
Labels
affects-7.0
area/ticdc
Issues or PRs related to TiCDC.
may-affects-4.0
may-affects-5.0
may-affects-5.1
may-affects-5.2
may-affects-5.3
may-affects-5.4
may-affects-6.0
may-affects-6.1
may-affects-6.2
may-affects-6.3
may-affects-6.4
may-affects-6.5
may-affects-6.6
severity/major
type/bug
The issue is confirmed as a bug.
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)
What did you expect to see?
ticdc mysql sink memory quota is normal as before
What did you see instead?
ticdc mysql sink memory quota is always zero after inject pd leader networkpartition which will trigger pd leader change
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
The text was updated successfully, but these errors were encountered: