-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix(tidb,pd): remove race flag for failpoint target #522
Conversation
Signed-off-by: wuhuizuo <wuhuizuo@126.com>
Based on the PR title and description, it seems the key change is removing the WITH_RACE flag from the failpoint target in the packages.yaml.tmpl file. The diff shows that the flag is removed from both components of the failpoint target in the file. As for potential problems, it's hard to say without more context. However, if the WITH_RACE flag was added intentionally to enable race detection in the code, then removing it could potentially lead to undetected race conditions in the future. To address this, the PR author should explain in the description why the WITH_RACE flag is being removed and confirm that it's not needed for race detection. If race detection is still needed, then the PR author should explain how it will be performed without the WITH_RACE flag. Assuming there are no issues with the removal of the WITH_RACE flag, my suggestion for fixing this PR would be to add a comment in the packages.yaml.tmpl file explaining why the flag was removed and confirming that it's not needed for race detection. For example, the comment could say something like:
|
/review default |
Based on the pull request title and description, it seems that the changes are related to removing the race option in the The actual code changes are located in the Potential problems:
Fixing suggestions:
In response to this:
Instructions 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 kubernetes/test-infra repository. |
/cc @stevenayu |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wuhuizuo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The
failpoint
target will only be used in testing env, I agreed with the testing team: agreed to remove the race option.