Skip to content

Commit

Permalink
Update crates/core/src/operations/transaction/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ion-elgreco committed Feb 14, 2025
1 parent 894f6f5 commit 5153f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/operations/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ impl<'a> std::future::IntoFuture for PreparedCommit<'a> {
// unwrap() is safe here due to the above check
let read_snapshot = this.table_data.unwrap().eager_snapshot();

let mut attempt_number = 0;
let mut attempt_number = 1;
let total_retries = this.max_retries + 1;
while attempt_number <= total_retries {
let latest_version = this
Expand Down

0 comments on commit 5153f74

Please sign in to comment.