We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
YDB GO SDK version: 3.74.7
Reproduced on local ydb.
Code:
ctx := context.Background() db := must(ydb.Open( ctx, connectionString, yc.WithInternalCA(), ydb.WithAccessTokenCredentials(internalOAuthToken), // yc.WithServiceAccountKeyFileCredentials(serviсeAccountFile), // ydb.WithDiscoveryInterval(time.Second), ydb.WithLogger(log.Default(os.Stderr), trace.DetailsAll), )) for { readCtx, cancel := context.WithTimeout(ctx, time.Millisecond*10) _ = db.Table().Do(readCtx, func(ctx context.Context, s table.Session) error { _, res, err := s.Execute(ctx, table.SerializableReadWriteTxControl(table.CommitTx()), "SELECT 1", nil) if res != nil { res.Close() } switch { case err == nil: return nil case ydb.IsTransportError(err): return err case ctx.Err() != nil: return nil default: panic(err) } }) cancel() }
Session leaks can see on diagnostics page: http://localhost:8765/actors/kqp_proxy
Active session_actors count on node: 167
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
YDB GO SDK version: 3.74.7
Reproduced on local ydb.
Code:
Details
Session leaks can see on diagnostics page:
http://localhost:8765/actors/kqp_proxy
Active session_actors count on node: 167
The text was updated successfully, but these errors were encountered: