cdc ignore_ineligible_table 参数查询结果异常

【 TiDB 版本】6.5.2

通过TiCDC OpenAPI v2 创建同步任务时,参数 ignore_ineligible_table 无论设置为true还是false,通过查询changefeed结果始终为 false

curl -X POST http://172.16.xxx.xxx:8300/api/v2/changefeeds -d ‘{“changefeed_id”:“apitokafka1”,“sink_uri”:“kafka://kafka-test-01.ld-hadoop.com:9092,kafka-test-02.ld-hadoop.com:9092,kafka-test-03.ld-hadoop.com:9092/dw_tidb_binlog_zhaohe_test?partition-num=3&enable-tidb-extension=true&replication-factor=3&sasl-user=admin&sasl-password=******&sasl-mechanism=SCRAM-SHA-256","replica_config”: {“filter”: {“rules”:[“sbtest.sbtest_test”]},“ignore_ineligible_table”: true,“mounter”: {“worker_num”: 16},“sink”: {“dispatchers”: [{“matcher”: [“sbtest.sbtest_test”],“partition”: “index-value”}],“protocol”: “canal-json”}}}’

目前这个参数只有在创建的时候校验changefeed配置是否合法用的,并没有存下来, 返回值是写死的 false.

https://github.com/pingcap/tiflow/pull/9028 PR 改了一下这个形为

1 个赞