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

cdc cli 5.1.0 + cdc server 4.0.14, create changfeed default sort-engine is memory #2373

Closed
Tammyxia opened this issue Jul 26, 2021 · 0 comments · Fixed by #2384
Closed

cdc cli 5.1.0 + cdc server 4.0.14, create changfeed default sort-engine is memory #2373

Tammyxia opened this issue Jul 26, 2021 · 0 comments · Fixed by #2384
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. component/cli CLI component. difficulty/easy Easy task. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@Tammyxia
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.
  • Create changefeed with cli 5.1.0: $tiup cdc cli changefeed create --pd=http://172.16.xxx:2379 --sink-uri='mysql://root:@172.16.xxx:4000/' --changefeed-id="replication-task" cdc-2021-07-22T16-11-29.795.log:[2021/07/22 14:43:00.651 +08:00] [INFO] [owner.go:301] ["Find new changefeed"] [info="{"sink-uri":"*","opts":{},"create-time":"2021-07-22T14:43:00.56923044+08:00","start-ts":426491558124847105,"target-ts":0,"admin-job-type":0,"sort-eng
    ine":"memory","sort-dir":"","config":{"case-sensitive":true,"enable-old-value":false,"force-replicate":false,"check-gc-safe-point":true,"filter":{"rules":["
    .
    "],"ignore-txn-start-ts":null},"mounter":{"worker-num":16},"sink":{"dispatchers":null,"protoc
    ol":"default"},"cyclic-replication":{"enable":false,"replica-id":0,"filter-replica-ids":null,"id-buckets":0,"sync-ddl":false},"scheduler":{"type":"table-number","polling-time":-1}},"state":"normal","history":null,"error":null,"sync-point-enabled":false,
    "sync-point-interval":600000000000,"creator-version":"v5.1.0"}"] [changefeed=blackhole-task-1] ["checkpoint ts"=426491558124847105]
  1. What did you expect to see?
  • sort-engine is unified by default.
  1. What did you see instead?
  • sort-engine is memory by default
  • While cli 4.0.14 create changefeed sort-engine is unified by default, so it's compatibility issue between cdc cli 5.1.0 and cdc server 4.0.14.
  1. Versions of the cluster

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

      4.0.14
      
    • TiCDC version (execute cdc version):

      4.0.14
      
@Tammyxia Tammyxia added type/bug The issue is confirmed as a bug. severity/moderate labels Jul 26, 2021
@asddongmen asddongmen added component/cli CLI component. difficulty/easy Easy task. labels Jul 27, 2021
@asddongmen asddongmen added the good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. label Jul 27, 2021
@AkiraXie AkiraXie added the area/ticdc Issues or PRs related to TiCDC. label Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. component/cli CLI component. difficulty/easy Easy task. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants