review comment: xref tested string

This commit is contained in:
Joonas Koivunen
2023-08-24 18:35:35 +03:00
parent 290f121b59
commit 46b6a1a5e8

View File

@@ -67,6 +67,8 @@ pub(super) async fn upload_timeline_layer<'a>(
// upload. However, a nonexistent file can also be indicative of
// something worse, like when a file is scheduled for upload before
// it has been written to disk yet.
//
// This is tested against `test_compaction_delete_before_upload`
info!(path = %source_path.display(), "File to upload doesn't exist. Likely the file has been deleted and an upload is not required any more.");
return Ok(());
}