Skip to content

server: do not overwrite the log of handshake error#27962

Merged
ti-chi-bot merged 4 commits into
pingcap:masterfrom
jackysp:handshake_log
Sep 13, 2021
Merged

server: do not overwrite the log of handshake error#27962
ti-chi-bot merged 4 commits into
pingcap:masterfrom
jackysp:handshake_log

Conversation

@jackysp
Copy link
Copy Markdown
Contributor

@jackysp jackysp commented Sep 11, 2021

Signed-off-by: Shuaipeng Yu jackysp@gmail.com

What problem does this PR solve?

Issue Number: close #xxx

Problem Summary:
When handshake error occurs, if conn.Close() return nil, the log of the handshake error will disappear.

What is changed and how it works?

Proposal: xxx

What's Changed:

How it Works:
Fix it.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Do not overwrite the log of handshake error.

Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
@ti-chi-bot
Copy link
Copy Markdown
Member

ti-chi-bot commented Sep 11, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • bb7133
  • lysu

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Details

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Sep 11, 2021
@jackysp jackysp requested a review from lysu September 11, 2021 06:58
@ti-chi-bot ti-chi-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 11, 2021
@jackysp jackysp requested a review from bb7133 September 11, 2021 06:58
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Sep 11, 2021
@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Sep 11, 2021
@bb7133
Copy link
Copy Markdown
Member

bb7133 commented Sep 11, 2021

/merge

@ti-chi-bot
Copy link
Copy Markdown
Member

This pull request has been accepted and is ready to merge.

DetailsCommit hash: 3f94032

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Sep 11, 2021
@morgo
Copy link
Copy Markdown
Contributor

morgo commented Sep 13, 2021

/run-check_dev_2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/server release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants