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 actively checks the size of min.insync.replicas and replication-factor #3994

Closed
Tracked by #2971
glkappe opened this issue Dec 20, 2021 · 1 comment · Fixed by #4263
Closed
Tracked by #2971

TiCDC actively checks the size of min.insync.replicas and replication-factor #3994

glkappe opened this issue Dec 20, 2021 · 1 comment · Fixed by #4263
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. type/enhancement The issue or PR belongs to an enhancement.

Comments

@glkappe
Copy link

glkappe commented Dec 20, 2021

What did you do?

./cdc cli changefeed create --pd http://127.0.0.1:2379 --sink-uri "kafka://127.0.0.1:55426/ticdc-test2333?partition-num=1&replication-factor=1"

127.0.0.1:55426 is Amazon MSK Kafka Service

min.insync.replicas: 2 aws default,request-required-acks:-1 cdc default value,replication-factor: 1 sink-uri

What did you expect to see?

data in kafka's topic

What did you see instead?

[2021/12/16 18:42:38.578 +08:00] [ERROR] [feed_state_manager.go:240] ["processor report an error"] [changefeedID=simpledrvv-replicastions-taask-12345] [captureID=aa51a900-190-41fb-9201-e9c0c4357fe22] [error="{"addr":"1123123123213:8301","code":"CDC:ErrProcessorUnknown","message":"[CDC:ErrKafkaAsyncSendMessage]kafka: Failed to produce message to topic tidb_cdc_message: kafka server: Messages are rejected since there are fewer in-sync replicas than required.: kafka: Failed to produce message to topic tidb_cdc_message: kafka server: Messages are rejected since there are fewer in-sync replicas than required."}"]

Versions of the cluster

v5.2.2\v5.2.3

current status of DM cluster (execute query-status in dmctl)

(paste current status of DM cluster here)
@lance6716 lance6716 transferred this issue from pingcap/dm Dec 20, 2021
@Rustin170506 Rustin170506 added the area/ticdc Issues or PRs related to TiCDC. label Dec 20, 2021
@Rustin170506 Rustin170506 added the type/enhancement The issue or PR belongs to an enhancement. label Dec 21, 2021
@Rustin170506
Copy link
Member

/assign

ti-chi-bot pushed a commit that referenced this issue Jan 11, 2022
zhaoxinyu pushed a commit to zhaoxinyu/ticdc that referenced this issue Jan 20, 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. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
2 participants