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

upgrade from v4.0.15 to v4.0.16, ticdc stoped with CDC:ErrProcessorUnknown #3793

Closed
Tracked by #4048
seiya-annie opened this issue Dec 8, 2021 · 4 comments · Fixed by #3846
Closed
Tracked by #4048

upgrade from v4.0.15 to v4.0.16, ticdc stoped with CDC:ErrProcessorUnknown #3793

seiya-annie opened this issue Dec 8, 2021 · 4 comments · Fixed by #3846
Assignees

Comments

@seiya-annie
Copy link

seiya-annie commented Dec 8, 2021

What did you do?

  1. in v4.0.15, set cdc changefeed, write data
  2. upgrade to v4.0.16
  3. write data
  4. scale-out tidb,pd,tikv
  5. scale-in tidb/pd/tikv
  6. check CDC status

upstream: tidb
downstream: tidb

What did you expect to see?

task works normal

What did you see instead?

task stopped at "2021-12-08 14:08:26.157"
[
{
"id": "simple-cdc-task",
"summary": {
"state": "normal",
"tso": 429639258906820611,
"checkpoint": "2021-12-08 14:08:26.157",
"error": {
"addr": "cdc-peer:8300",
"code": "CDC:ErrProcessorUnknown",
"message": "[CDC:ErrReachMaxTry]reach maximum try: 8"
}
}
}
]
[root@cdc-0 bin]# date
Wed Dec 8 16:09:36 CST 2021
[root@cdc-0 bin]#
cdc.log.gz

Versions of the cluster

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

-------+
| Release Version: v4.0.16
Edition: Community
Git Commit Hash: 75f81d2d7faae72575c4e471ec0b96756796284a
Git Branch: heads/refs/tags/v4.0.16
UTC Build Time: 2021-12-02 04:17:32
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |

TiCDC version (execute cdc version):

[root@cdc-0 bin]# ./cdc version
Release Version: v4.0.16
Git Commit Hash: 6283ec07544ee7011c52aad154bf93a0ee412fa4
Git Branch: heads/refs/tags/v4.0.16
UTC Build Time: 2021-12-02 13:07:10
Go Version: go version go1.13 linux/amd64
Failpoint Build: false

@seiya-annie seiya-annie added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. labels Dec 8, 2021
@seiya-annie
Copy link
Author

seiya-annie commented Dec 8, 2021

@liuzix
Copy link
Contributor

liuzix commented Dec 8, 2021

Please provide the relevant DDLs and DMLs in the workload.

@seiya-annie
Copy link
Author

@overvenus overvenus assigned overvenus and maxshuang and unassigned sdojjy and overvenus Dec 9, 2021
overvenus added a commit that referenced this issue Dec 13, 2021
* mounter(ticdc): fix mounter add default value type unsupported

close  #3793

* test(mounter(ticdc)): fix unit test panic for enum

* comment(mounter(ticdc)): add some return value comment for mounter

* test(mounter(ticdc)): fix default value size unmatch error in uts

* mounter(ticdc): change comment

Co-authored-by: Neil Shen <overvenus@gmail.com>

* test(mounter(ticdc)): close size check temporary

* chore(mounter(ticdc)): fix unused lint

Co-authored-by: Neil Shen <overvenus@gmail.com>
zhaoxinyu pushed a commit to zhaoxinyu/ticdc that referenced this issue Dec 29, 2021
…ap#3846)

* mounter(ticdc): fix mounter add default value type unsupported

close  pingcap#3793

* test(mounter(ticdc)): fix unit test panic for enum

* comment(mounter(ticdc)): add some return value comment for mounter

* test(mounter(ticdc)): fix default value size unmatch error in uts

* mounter(ticdc): change comment

Co-authored-by: Neil Shen <overvenus@gmail.com>

* test(mounter(ticdc)): close size check temporary

* chore(mounter(ticdc)): fix unused lint

Co-authored-by: Neil Shen <overvenus@gmail.com>
@VelocityLight
Copy link

update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants