How to Check the Version Number of a Task Created by TiCDC

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 如何查看ticdc创建任务的版本号

| username: vcdog

[TiDB Usage Environment] Production Environment
[TiDB Version] v6.5.0
[Reproduction Path] Operations performed that led to the issue
[Encountered Issue: Phenomenon and Impact] After upgrading the TiDB cluster from version v5.4.0 to v6.5.0, some issues with ticdc were discovered:

  1. When creating a synchronization task using the command # tiup cdc cli changefeed create, after successful creation, a version prompt appears:
"creator_version":"v5.4.0"
  1. After creating the synchronization task, when querying the details of the synchronization task using tiup cdc cli changefeed query, the creator_version is an empty string.

[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

| username: tidb狂热爱好者 | Original post link

Partially upgraded.

| username: vcdog | Original post link

Full component upgrade

| username: sdojjy | Original post link

Thank you for the feedback. This is a bug introduced in CDC 6.2 CLI when using Open API v1, where the API does not return this field. It will be fixed in apiv1(ticdc) : changefeed API return creator_version by sdojjy · Pull Request #8729 · pingcap/tiflow · GitHub. If you currently need to check the creator version, you can temporarily use the following API to view it:

curl 127.0.0.1:8300/api/v2/changefeeds/<changefeed_id>/meta_info
| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.