-
Notifications
You must be signed in to change notification settings - Fork 678
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
Log redact on TiFlash #4994
Log redact on TiFlash #4994
Conversation
/label needs-cherry-pick-5.0, translation/from-docs-cn |
log-redaction.md
Outdated
@@ -44,3 +44,7 @@ To enable log redaction in the TiKV side, set the value of [`security.redact-inf | |||
## Log redaction in PD side | |||
|
|||
To enable log redaction in the PD side, set the value of [`security.redact-info-log`](/pd-configuration-file.md#redact-info-log-new-in-v500-rc) to `true`. This configuration value defaults to `false`, which means that log redaction is disabled. | |||
|
|||
## Log desensitization of TiFlash components |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the word "redaction" instead of "desensitization" to make it aligned with other components?
…into tiflash-redact-log
Co-authored-by: JaySon <jayson.hjs@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.0 in PR #4998 |
@@ -153,10 +153,9 @@ delta_index_cache_size = 0 | |||
|
|||
## Security settings take effect starting from v4.0.5. | |||
[security] | |||
## This configuration item enables or disables log redaction. If the configuration value | |||
## New in v5.0.0-rc. This configuration item enables or disables log redaction. If the configuration value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make these two aligned? Make it both "New in v5.0.0-rc" or "New in v4.0.10"
|
||
## Specifies the shortest interval at which Raft store persists WAL. | ||
## You can properly increase the latency to reduce IOPS usage. | ||
## The default value is "4ms". | ||
## If you set it to 0ms, the optimization is disabled. | ||
store-batch-retry-recv-timeout = "4ms" | ||
[security] | ||
## New in v4.0.10. This configuration item enables or disables log redaction. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mark
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed in #5000.
* cherry pick #4994 to release-5.0 Signed-off-by: ti-srebot <ti-srebot@pingcap.com> * Update tiflash/tiflash-configuration.md Co-authored-by: JoyinQ <56883733+Joyinqin@users.noreply.github.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
First-time contributors' checklist
What is changed, added or deleted? (Required)
Add redact log configurations for TiFlash.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?