Skip to content

Commit

Permalink
* Added ydb.WithLazyTx() option for create lazy transactions on `qu…
Browse files Browse the repository at this point in the history
…ery.Session.Begin` call
  • Loading branch information
asmyasnikov committed Sep 18, 2024
1 parent efa13b2 commit f1a0742
Show file tree
Hide file tree
Showing 12 changed files with 554 additions and 121 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
* Added `ydb.WithLazyTx()` option for create lazy transactions on `query.Session.Begin` call
* Added experimental `sugar.UnmarshalRows` for user unmarshaller structs in own code in go 1.23, change example for use the iterator.
* Added `ydb_go_sdk_ydb_query_pool_size_limit` metrics
* Added `ydb_go_sdk_ydb_query_pool_size_index` metrics

## v3.80.7
* Doesn't rollback a the transaction on the operation error in table service
* Fixed bug with doesn't rollback the transaction on the operation error in table service

## v3.80.6
* Fixed concurrent map writes in metrics
Expand Down
2 changes: 2 additions & 0 deletions internal/query/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,8 @@ func New(ctx context.Context, cc grpc.ClientConnInterface, cfg *config.Config) *
return nil, xerrors.WithStackTrace(err)
}

s.laztTx = cfg.LazyTx()

return s, nil
}),
),
Expand Down
Loading

0 comments on commit f1a0742

Please sign in to comment.