diff --git a/slo/src/AdoNet/SloContext.cs b/slo/src/AdoNet/SloContext.cs index a106290f..00632b2b 100644 --- a/slo/src/AdoNet/SloContext.cs +++ b/slo/src/AdoNet/SloContext.cs @@ -83,7 +83,7 @@ protected override async Task Create(YdbDataSource client, string createTableSql return await ydbCommand.ExecuteScalarAsync(); }, context); - return (policyResult.Context.TryGetValue("RetryCount", out var countAttempts) ? (int)countAttempts : 1, + return (policyResult.Context.TryGetValue("RetryCount", out var countAttempts) ? (int)countAttempts : 0, ((YdbException)policyResult.FinalException)?.Code ?? StatusCode.Success, policyResult.Result); }