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

config: change the default value of txn-total-size-limit, add comment about its conflict with binlog #14522

Merged
merged 7 commits into from
Jan 21, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
config: change the default value of txn-total-size-limit, add comment…
… about its conflict with binlog,
  • Loading branch information
tiancaiamao committed Jan 18, 2020
commit 3090482741501be50be6b47b65cdc8b13c55a91a
6 changes: 3 additions & 3 deletions config/config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,8 @@ bind-info-lease = "3s"

# The limitation of the size in byte for the entries in one transaction.
# If using TiKV as the storage, the entry represents a key/value pair.
# WARNING: Do not set the value too large, otherwise it will make a very large impact on the TiKV cluster.
# Please adjust this configuration carefully.
txn-total-size-limit = 1073741824
# NOTE: If binlog is enabled, this value should be less than 104857600 because the two configurations conflict with each other.
txn-total-size-limit = 104857599

[proxy-protocol]
# PROXY protocol acceptable client networks.
Expand Down Expand Up @@ -327,6 +326,7 @@ capacity = 2048000

[binlog]
# enable to write binlog.
# NOTE: If binlog is enabled, txn-total-size-limit should be less than 104857600 because the two configurations conflict with each other.
enable = false

# WriteTimeout specifies how long it will wait for writing binlog to pump.
Expand Down