Skip to content

Commit

Permalink
Automated cherry pick of #793: Fix default tidb-drainer config to be …
Browse files Browse the repository at this point in the history
…compatible with the (#1164)

* Fix default tidb-drainer config to be compatible with the latest drainer config format

* Disable payload compression by default
  • Loading branch information
aylei authored Nov 18, 2019
1 parent bb74fe6 commit aa6243e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/tidb-drainer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ initialCommitTs: 0

# Refer to https://github.com/pingcap/tidb-binlog/blob/master/cmd/drainer/drainer.toml
config: |
detect-interval = 10
compressor = ""
[syncer]
worker-count = 16
detect-interval = 10
disable-dispatch = false
ignore-schemas = "INFORMATION_SCHEMA,PERFORMANCE_SCHEMA,mysql"
safe-mode = false
txn-batch = 20
db-type = "pb"
db-type = "file"
[syncer.to]
dir = "/data/pb"
compression = "gzip"
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit aa6243e

Please sign in to comment.