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.95.6
Current behavior: mark session as error (and then close) for any error from uses callback.
Expected behavior: Mark session as error for cluster errors only
Example:
the code close session after error about no expected rows and will use two sessions for the two queries instead on one.
must0(db.Table().Do(ctx, func(ctx context.Context, s table.Session) error { _ = s.DropTable(ctx, "/local/t") return s.ExecuteSchemeQuery(ctx, `CREATE TABLE t (id Int64, PRIMARY KEY (id))`) })) _, _ = db.Query().QueryRow(ctx, `SELECT * FROM t`) _, _ = db.Query().QueryRow(ctx, `SELECT * FROM t`)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug Report
YDB GO SDK version: 3.95.6
Current behavior: mark session as error (and then close) for any error from uses callback.
Expected behavior:
Mark session as error for cluster errors only
Example:
the code close session after error about no expected rows and will use two sessions for the two queries instead on one.
The text was updated successfully, but these errors were encountered: