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

tiflash: Add TiFlash security configuration #4412

Merged
merged 14 commits into from
Jan 4, 2021
16 changes: 16 additions & 0 deletions tiflash/tiflash-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,22 @@ Multiple TiFlash nodes elect a master to add or delete placement rules to PD, an
dt_enable_logical_split = true # The default value is `true`. This parameter determines whether the segment of DeltaTree Storage Engine uses logical split. Using the logical split can reduce the write amplification, and improve the write speed. However, these are at the cost of disk space waste.
max_memory_usage = 0 # The memory usage limit for the generated intermediate data when a single coprocessor query is executed. The default value is 0, which means no limit.
max_memory_usage_for_all_queries = 0 # The memory usage limit for the generated intermediate data when all queries are executed. The default value is 0 (in bytes), which means no limit.

## Security settings effective since v4.0.5
JaySon-Huang marked this conversation as resolved.
Show resolved Hide resolved
[security]
## This configuration item enables or disables log redaction. If the configuration value
## is set to `true`, all user data in the log will be replaced by `?`. Also, you need to set
## `security.redact-info-log` in tiflash-learner.toml to enable it for tiflash-learner
## logging files.
JaySon-Huang marked this conversation as resolved.
Show resolved Hide resolved
JaySon-Huang marked this conversation as resolved.
Show resolved Hide resolved
# redact_info_log = false

## Path of file that contains list of trusted SSL CAs. if set, the following settings
## `cert_path` and `key_path` shouldn't be empty
JaySon-Huang marked this conversation as resolved.
Show resolved Hide resolved
# ca_path = "/path/to/ca.pem"
## Path of file that contains X509 certificate in PEM format.
JaySon-Huang marked this conversation as resolved.
Show resolved Hide resolved
# cert_path = "/path/to/tiflash-server.pem"
## Path of file that contains X509 key in PEM format.
JaySon-Huang marked this conversation as resolved.
Show resolved Hide resolved
# key_path = "/path/to/tiflash-server-key.pem"
```

### Configure the `tiflash-learner.toml` file
Expand Down