Repository navigation
server: enable log redaction by default in new architecture (#6790) - #6799
ti-chi-bot wants to merge 1 commit into
Conversation
Signed-off-by: ti-chi-bot <ci@pingcap.com>
|
@asddongmen This PR has conflicts, I have hold it. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 20 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
@ti-chi-bot: ## If you want to know how to resolve it, please read the guide in TiDB Dev Guide. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lidezhu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is an automated cherry-pick of #6790
What problem does this PR solve?
Issue Number: close #6789
The new-architecture server currently disables log redaction when
[security] redact-info-logis omitted. Values passed to redaction-aware log helpers can appear in logs by default.What is changed and how it works?
Resolve an unset
redact-info-logtoONin the new-architecture server. ExplicitOFF,ON, andMARKERsettings keep their existing behavior. The old-architecture TiFlow startup path is unchanged. Update the server tests and the configuration comment to match. The existinglog_redactionintegration case now starts without the setting and verifies the effective ON mode and masked DML values.Check List
Tests
GOTOOLCHAIN=auto go test ./cmd/cdc/server -count=1log_redaction(MySQL light CI group; pending on this commit)GOTOOLCHAIN=auto make cdcQuestions
Will it cause performance regression or break compatibility?
Redaction-aware log values are now masked by default; explicit
OFFrestores the previous log output. No replication data path changes. The added redaction work is limited to log formatting.Do you need to update user documentation, design documentation or monitoring documentation?
The user-facing server configuration reference should state the new default. No design or monitoring documentation changes are needed in this repository.
Release note
Summary by CodeRabbit