-
Notifications
You must be signed in to change notification settings - Fork 83
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
allow to use common balancer in child drivers #1530
Conversation
🌋 Here are results of SLO test for Go SDK database/sql: |
🌋 Here are results of SLO test for Go SDK gorm: |
🌋 Here are results of SLO test for Go SDK xorm: |
🌋 Here are results of SLO test for Native ydb-go-sdk/v3 over table-service: |
🌋 Here are results of SLO test for Native ydb-go-sdk/v3 over query-service: |
with.go
Outdated
@@ -19,9 +19,6 @@ func (d *Driver) with(ctx context.Context, opts ...Option) (*Driver, uint64, err | |||
append( | |||
append( | |||
d.opts, | |||
WithBalancer( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
вернуть как было!
driver.go
Outdated
d.balancer, err = balancer.New(ctx, d.config, d.pool, d.discoveryOptions...) | ||
if d.balancer == nil { | ||
d.balancer, err = balancer.New(ctx, d.config, d.pool, d.discoveryOptions...) | ||
} | ||
if err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
перенести проверку выше
github.com/ydb-platform/ydb-go-sdk/v3compatible changesWithSharedBalancer: added summaryBase version: v3.89.0 (master) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1530 +/- ##
==========================================
- Coverage 71.03% 70.88% -0.16%
==========================================
Files 356 356
Lines 37483 37490 +7
==========================================
- Hits 26627 26573 -54
- Misses 9754 9803 +49
- Partials 1102 1114 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Other information