From c185b060392899b61478dfe28aa689b1b4dc12e7 Mon Sep 17 00:00:00 2001 From: Alexander Tesfamichael Date: Sun, 15 Oct 2023 20:59:16 +0200 Subject: [PATCH] feat(migrate-from-gcs): use new path Deleting the old files takes a while, to start running the new query already we give it a new path. --- src/bin/migrate-from-gcs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/migrate-from-gcs.rs b/src/bin/migrate-from-gcs.rs index b6daf52..11b312f 100644 --- a/src/bin/migrate-from-gcs.rs +++ b/src/bin/migrate-from-gcs.rs @@ -265,7 +265,7 @@ async fn main() -> anyhow::Result<()> { let minute = slot_date_time.minute(); let path_string = - format!("old_formats/gcs/{year}/{month:02}/{day:02}/{hour:02}/{minute:02}/{slot}/{payload_id}-{block_hash}.json.gz"); + format!("old_formats/gcs_v2/{year}/{month:02}/{day:02}/{hour:02}/{minute:02}/{slot}/{payload_id}-{block_hash}.json.gz"); let path = object_store::path::Path::from(path_string); let payload_id = payload.id.clone();