BigtableUploadService: recheck first_available_block (#26347)
Recheck first_available_block
This commit is contained in:
parent
47c596ff12
commit
d6b53fb173
|
@ -112,6 +112,9 @@ impl BigTableUploadService {
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
warn!("bigtable: upload_confirmed_blocks: {}", err);
|
warn!("bigtable: upload_confirmed_blocks: {}", err);
|
||||||
std::thread::sleep(std::time::Duration::from_secs(2));
|
std::thread::sleep(std::time::Duration::from_secs(2));
|
||||||
|
if start_slot == 0 {
|
||||||
|
start_slot = blockstore.get_first_available_block().unwrap_or_default();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue