Skip to content

Commit

Permalink
v1.17: BigtableUploadService: increment start_slot to prevent recheck…
Browse files Browse the repository at this point in the history
…s (backport of #33870) (#33886)

BigtableUploadService: increment start_slot to prevent rechecks (#33870)

Increment start_slot

(cherry picked from commit 22503f0)

Co-authored-by: Tyera <[email protected]>
  • Loading branch information
mergify[bot] and Tyera authored Oct 26, 2023
1 parent 84d5fff commit 42fcac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/src/bigtable_upload_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl BigTableUploadService {
));

match result {
Ok(last_slot_uploaded) => start_slot = last_slot_uploaded,
Ok(last_slot_uploaded) => start_slot = last_slot_uploaded.saturating_add(1),
Err(err) => {
warn!("bigtable: upload_confirmed_blocks: {}", err);
std::thread::sleep(std::time::Duration::from_secs(2));
Expand Down

0 comments on commit 42fcac8

Please sign in to comment.