initialize upload queue before starting download operations

This commit is contained in:
Dmitry Rodionov
2022-11-17 23:53:31 +02:00
committed by Dmitry Rodionov
parent 348369414b
commit 6600e1f896
+1 -1
View File
@@ -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 => {