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

Enhance session pool #279

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Conversation

HarrisChu
Copy link
Contributor

  1. enhance session pool code, add a new pureSession, and no any retry logic.
  2. fix connection reconnect, should do retry in:
    a. connection pool, should retry in Session
    b. session pool, should retry in SessionPool

hold on for testing

@HarrisChu
Copy link
Contributor Author

fix sslConfig in session pool, and add a test

@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2023

Codecov Report

Patch coverage: 56.52% and project coverage change: -0.17% ⚠️

Comparison is base (8fca693) 61.44% compared to head (cec1fa2) 61.27%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #279      +/-   ##
==========================================
- Coverage   61.44%   61.27%   -0.17%     
==========================================
  Files           8        8              
  Lines        2329     2376      +47     
==========================================
+ Hits         1431     1456      +25     
- Misses        760      782      +22     
  Partials      138      138              
Files Changed Coverage Δ
connection_pool.go 82.28% <ø> (-0.07%) ⬇️
session_pool.go 60.82% <55.41%> (-0.26%) ⬇️
connection.go 53.65% <100.00%> (-2.16%) ⬇️
session.go 50.80% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

connection.go Show resolved Hide resolved
session.go Outdated Show resolved Hide resolved
session_pool.go Outdated Show resolved Hide resolved
session_pool.go Outdated Show resolved Hide resolved
session_pool.go Show resolved Hide resolved
@HarrisChu HarrisChu marked this pull request as ready for review July 21, 2023 08:39
@HarrisChu HarrisChu requested review from Aiee and Nicole00 July 21, 2023 09:13
Nicole00
Nicole00 previously approved these changes Aug 8, 2023
@Aiee Aiee merged commit 7f5a200 into vesoft-inc:master Aug 24, 2023
9 checks passed
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.

4 participants