Skip to content

Commit

Permalink
Automated cherry pick of #939: fix drainer misconfiguration (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
weekface authored Sep 24, 2019
1 parent 38ca535 commit 7a6e09d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion charts/tidb-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,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
Expand Down
6 changes: 4 additions & 2 deletions tests/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -2346,8 +2346,10 @@ func (oa *operatorActions) DeployIncrementalBackup(from *TidbClusterConfig, to *
"binlog.pump.create": "true",
}
from.drainerConfig = []string{
"worker-count = 16",
"detect-interval = 10",
`detect-interval = 10`,
`compressor = ""`,
`[syncer]`,
`worker-count = 16`,
"disable-dispatch = false",
`ignore-schemas = ""`,
`safe-mode = false`,
Expand Down

0 comments on commit 7a6e09d

Please sign in to comment.