Skip to content

Commit

Permalink
feat(migrate-from-gcs): use new path
Browse files Browse the repository at this point in the history
Deleting the old files takes a while, to start running the new query
already we give it a new path.
  • Loading branch information
alextes committed Oct 15, 2023
1 parent 1298b3f commit c185b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/migrate-from-gcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c185b06

Please sign in to comment.