-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
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
Fix transport error on delete session #56
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need comments - how the PR fix errors
@@ -24,7 +25,8 @@ internal ResultData(Session session) | |||
|
|||
public Session Session { get; } | |||
|
|||
internal static ResultData FromProto(CreateSessionResult resultProto, Driver driver, string endpoint) | |||
internal static ResultData FromProto(CreateSessionResult resultProto, Driver driver, string endpoint, | |||
bool settingsDeleteOnDispose) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The settingsDeleteOnDispose arg not used
@@ -6,6 +6,7 @@ namespace Ydb.Sdk.Services.Table; | |||
|
|||
public class CreateSessionSettings : OperationRequestSettings | |||
{ | |||
public bool DeleteOnDispose = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the flag will false?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when field DeleteSessionsOnDispose
in class SessionPoolConfig
is false
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Pull request type
Please check the type of change your PR introduces: