summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Myasnikov <[email protected]>2022-05-07 11:29:03 +0300
committerAleksey Myasnikov <[email protected]>2022-05-07 11:29:03 +0300
commitb7e4bab74054ffc84a2851542d0ac38e2a63a2ff (patch)
treeb5419cf9ff6ab6eb766012572ef3a64596c3dcc5
parenta0c9cd069ff45244eeb9caa2fcadf1e9bc4a840d (diff)
ydb-go-sdk v3.25.0
* Added `ydb.GRPCConn(ydb.Connection)` helper for connect to driver-unsupported YDB services * Marked as deprecated `session.Prepare` callback * Marked as deprecated `options.WithQueryCachePolicyKeepInCache` and `options.WithQueryCachePolicy` options * Added `options.WithKeepInCache` option * Enabled by default keep-in-cache policy for data queries * Removed from `ydb.Connection` embedding of `grpc.ClientConnInterface` * Fixed stopping of repeater * Added log backoff between force repeater wake up's (from 0s to 32s) * Renamed `trace.DriverRepeaterTick{Start,Done}Info` to `trace.DriverRepeaterWakeUp{Start,Done}Info` * Fixed unexpected `NullFlag` while parse nil `JSONDocument` value * Removed `internal/conn/conn.streamUsages` and `internal/conn/conn.usages` (`internal/conn.conn` always touching last usage timestamp on API calls) * Removed auto-reconnecting for broken conns * Renamed `internal/database` package to `internal/router` for unambiguous understanding of package mission * Refactored applying actual endpoints list after re-discovery (replaced diff-merge logic to swap cluster struct, cluster and balancers are immutable now) * Added `trace.Driver.OnUnpessimizeNode` trace event Full Changelog: [v3.24.2...v3.25.0](https://github.com/ydb-platform/ydb-go-sdk/compare/v3.24.2...v3.25.0) ref:5c87d58fed7c585c599656c4b1c8c56a9902e14e
-rw-r--r--ydb/docs/en/core/reference/ydb-sdk/example/go/index.md3
-rw-r--r--ydb/docs/ru/core/reference/ydb-sdk/example/go/index.md3
2 files changed, 0 insertions, 6 deletions
diff --git a/ydb/docs/en/core/reference/ydb-sdk/example/go/index.md b/ydb/docs/en/core/reference/ydb-sdk/example/go/index.md
index 36a4d43e391..e0bb77afdad 100644
--- a/ydb/docs/en/core/reference/ydb-sdk/example/go/index.md
+++ b/ydb/docs/en/core/reference/ydb-sdk/example/go/index.md
@@ -156,9 +156,6 @@ err := db.Table().Do(
table.NewQueryParameters(
table.ValueParam("$seriesID", types.Uint64Value(1)), // substitution in the query condition
),
- options.WithQueryCachePolicy(
- options.WithQueryCachePolicyKeepInCache(), // enabling the server cache of compiled queries
- ),
)
if err != nil {
return err
diff --git a/ydb/docs/ru/core/reference/ydb-sdk/example/go/index.md b/ydb/docs/ru/core/reference/ydb-sdk/example/go/index.md
index 15f68487474..fa3a1a3d99a 100644
--- a/ydb/docs/ru/core/reference/ydb-sdk/example/go/index.md
+++ b/ydb/docs/ru/core/reference/ydb-sdk/example/go/index.md
@@ -158,9 +158,6 @@ err := db.Table().Do(
table.NewQueryParameters(
table.ValueParam("$seriesID", types.Uint64Value(1)), // подстановка в условие запроса
),
- options.WithQueryCachePolicy(
- options.WithQueryCachePolicyKeepInCache(), // включаем серверный кэш скомпилированных запросов
- ),
)
if err != nil {
return err