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 solana-labs#33870) (solana-labs#33886)

BigtableUploadService: increment start_slot to prevent rechecks (solana-labs#33870)

Increment start_slot

(cherry picked from commit 22503f0)

Co-authored-by: Tyera <[email protected]>
  • Loading branch information
2 people authored and anwayde committed Nov 16, 2023
1 parent 30bae07 commit 3ea83da
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 3ea83da

Please sign in to comment.