mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-27 05:56:39 +00:00
initialize upload queue before starting download operations
This commit is contained in:
committed by
Dmitry Rodionov
parent
348369414b
commit
6600e1f896
@@ -1141,6 +1141,7 @@ impl Timeline {
|
||||
let local_only_filenames = match index_part {
|
||||
Some(index_part) => {
|
||||
info!("initializing upload queue from index");
|
||||
remote_client.init_upload_queue(index_part)?;
|
||||
let local_only_filenames = self
|
||||
.download_missing(
|
||||
index_part,
|
||||
@@ -1149,7 +1150,6 @@ impl Timeline {
|
||||
disk_consistent_lsn,
|
||||
)
|
||||
.await?;
|
||||
remote_client.init_upload_queue(index_part)?;
|
||||
local_only_filenames
|
||||
}
|
||||
None => {
|
||||
|
||||
Reference in New Issue
Block a user