diff --git a/charts/tidb-cluster/values.yaml b/charts/tidb-cluster/values.yaml index 5ac747238ab..022ccd06f70 100644 --- a/charts/tidb-cluster/values.yaml +++ b/charts/tidb-cluster/values.yaml @@ -558,8 +558,9 @@ binlog: # just follow the format in the file and configure in the 'config' section # as below if you want to customize any configuration. # config: | - # worker-count = 16 # detect-interval = 10 + # [syncer] + # worker-count = 16 # disable-dispatch = false # ignore-schemas = "INFORMATION_SCHEMA,PERFORMANCE_SCHEMA,mysql" # safe-mode = false diff --git a/tests/actions.go b/tests/actions.go index e429906e5a8..e3389f5055e 100644 --- a/tests/actions.go +++ b/tests/actions.go @@ -2385,10 +2385,12 @@ func (oa *operatorActions) DeployIncrementalBackup(from *TidbClusterConfig, to * sets["binlog.drainer.ignoreSchemas"] = "" } else { from.drainerConfig = []string{ - "worker-count = 16", - "detect-interval = 10", - "disable-dispatch = false", - `ignore-schemas = ""`, + `detect-interval = 10`, + `compressor = ""`, + `[syncer]`, + `worker-count = 16`, + `disable-dispatch = false`, + `ignore-schemas = "INFORMATION_SCHEMA,PERFORMANCE_SCHEMA,mysql"`, `safe-mode = false`, `txn-batch = 20`, `db-type = "mysql"`,