File tree Expand file tree Collapse file tree 8 files changed +12
-8
lines changed Expand file tree Collapse file tree 8 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1+ ## 3.11.9
2+ * Fixed composing of service traces
3+ * Fixed end-call of ` trace.Driver.OnConnStateChange `
4+
15## 3.11.8
26* Added ` trace.EndpointInfo.LastUpdated() ` timestamp
37* Refactored ` endpoint.Endpoint ` (split to struct ` endopint ` and interface ` Endpoint ` )
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ type Option func(c *config)
4848
4949func WithTrace (trace trace.Coordination ) Option {
5050 return func (c * config ) {
51- c .trace = trace
51+ c .trace = c . trace . Compose ( trace )
5252 }
5353}
5454
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ func WithSecure(ssl bool) Option {
105105
106106func WithTrace (trace trace.Discovery ) Option {
107107 return func (c * config ) {
108- c .trace = trace
108+ c .trace = c . trace . Compose ( trace )
109109 }
110110}
111111
Original file line number Diff line number Diff line change @@ -91,12 +91,12 @@ func (c *conn) SetState(s State) State {
9191}
9292
9393func (c * conn ) setState (s State ) State {
94- c .state = s
9594 trace .DriverOnConnStateChange (
9695 c .config .Trace (),
9796 c .endpoint .Copy (),
9897 c .state ,
99- )
98+ )(s )
99+ c .state = s
100100 return c .state
101101}
102102
Original file line number Diff line number Diff line change 11package meta
22
33const (
4- Version = "ydb-go-sdk/3.11.8 "
4+ Version = "ydb-go-sdk/3.11.9 "
55)
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ type Option func(c *config)
4848
4949func WithTrace (trace trace.Ratelimiter ) Option {
5050 return func (c * config ) {
51- c .trace = trace
51+ c .trace = c . trace . Compose ( trace )
5252 }
5353}
5454
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ type Option func(c *config)
4848
4949func WithTrace (trace trace.Scheme ) Option {
5050 return func (c * config ) {
51- c .trace = trace
51+ c .trace = c . trace . Compose ( trace )
5252 }
5353}
5454
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ type Option func(c *config)
4848
4949func WithTrace (trace trace.Scripting ) Option {
5050 return func (c * config ) {
51- c .trace = trace
51+ c .trace = c . trace . Compose ( trace )
5252 }
5353}
5454
You can’t perform that action at this time.
0 commit comments