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

*: Use lower version of openssl and make more functions async #89

Merged
merged 5 commits into from
Dec 30, 2020

Conversation

kennytm
Copy link
Collaborator

@kennytm kennytm commented Dec 28, 2020

What have you changed? (mandatory)

1. Use the same locked OpenSSL version as TiKV (1.1.1g) instead of the latest one (1.1.1i)

Fix this error when connecting to importer:

[2020-12-28T03:23:43.689Z] [2020/12/28 11:23:39.020 +08:00] [ERROR] [<unknown>] ["Handshake failed with fatal error SSL_ERROR_SSL: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed."]

We may need to check the cert generation algorithm in Lightning to ensure nothing goes wrong when we actually upgrade OpenSSL to 1.1.1i.

2. Make more functions relying on block_on as async, to avoid the EnterError when using block_on inside an async context.

What are the type of the changes? (mandatory)

  • Bug fix (change which fixes an issue)

How has this PR been tested? (mandatory)

run the Lightning integration test various_types.

Does this PR affect TiDB Lightning? (mandatory)

No

Refer to a related PR or issue link (optional)

Benchmark result if necessary (optional)

Add a few positive/negative examples (optional)

Signed-off-by: kennytm <kennytm@gmail.com>
@kennytm kennytm changed the base branch from release-4.0 to release-5.0-rc December 28, 2020 08:00
@overvenus
Copy link
Member

LGTM

@kennytm kennytm force-pushed the use-lower-version-of-openssl branch 2 times, most recently from 6ec1628 to d218600 Compare December 28, 2020 20:22
Signed-off-by: kennytm <kennytm@gmail.com>
@kennytm kennytm force-pushed the use-lower-version-of-openssl branch 11 times, most recently from 43d7860 to bb5cc92 Compare December 29, 2020 21:58
Signed-off-by: kennytm <kennytm@gmail.com>
@kennytm kennytm force-pushed the use-lower-version-of-openssl branch from bb5cc92 to c00f0fe Compare December 29, 2020 22:04
@kennytm kennytm changed the title Cargo.toml: Use lower version of openssl *: Use lower version of openssl and make more functions async Dec 29, 2020
@kennytm
Copy link
Collaborator Author

kennytm commented Dec 29, 2020

Blocked by cherry-pick of tikv/tikv#9390 to release-5.0-rc.

Signed-off-by: kennytm <kennytm@gmail.com>
Signed-off-by: kennytm <kennytm@gmail.com>
@kennytm kennytm marked this pull request as ready for review December 30, 2020 10:00
@kennytm
Copy link
Collaborator Author

kennytm commented Dec 30, 2020

/cc @glorv @overvenus

Copy link

@Little-Wallace Little-Wallace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@glorv glorv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jebter
Copy link

jebter commented Dec 30, 2020

/run-all-test

@Little-Wallace
Copy link

/merge

@zhouqiang-cl
Copy link

/merge

@zhouqiang-cl zhouqiang-cl merged commit 2b82183 into release-5.0-rc Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants