diff --git a/src/Ydb.Sdk/src/Services/Query/QueryClient.cs b/src/Ydb.Sdk/src/Services/Query/QueryClient.cs index 1b129e8e..38533cb9 100644 --- a/src/Ydb.Sdk/src/Services/Query/QueryClient.cs +++ b/src/Ydb.Sdk/src/Services/Query/QueryClient.cs @@ -535,7 +535,7 @@ private async Task ExecOnSession( $"Unexpected cast error: {nameof(_sessionPool)} is not object of type {typeof(SessionPool).FullName}"); } - return await sessionPool.ExecWithRetry(func, retrySettings); + return await sessionPool.ExecOnSession(func, retrySettings); } public async Task> Query(string queryString, Dictionary parameters, diff --git a/src/Ydb.Sdk/src/Services/Shared/SessionPool.cs b/src/Ydb.Sdk/src/Services/Shared/SessionPool.cs index 82e8641b..0e70155f 100644 --- a/src/Ydb.Sdk/src/Services/Shared/SessionPool.cs +++ b/src/Ydb.Sdk/src/Services/Shared/SessionPool.cs @@ -199,7 +199,7 @@ private void Dispose(bool disposing) } } - internal async Task ExecWithRetry( + internal async Task ExecOnSession( Func> func, RetrySettings? retrySettings) { diff --git a/src/Ydb.Sdk/src/Services/Table/Retry.cs b/src/Ydb.Sdk/src/Services/Table/Retry.cs index 79ac666a..2f45c85f 100644 --- a/src/Ydb.Sdk/src/Services/Table/Retry.cs +++ b/src/Ydb.Sdk/src/Services/Table/Retry.cs @@ -14,6 +14,6 @@ public async Task SessionExec( $"Unexpected cast error: {nameof(_sessionPool)} is not object of type {typeof(SessionPool).FullName}"); } - return await sessionPool.ExecWithRetry(operationFunc, retrySettings); + return await sessionPool.ExecOnSession(operationFunc, retrySettings); } } \ No newline at end of file