Skip to content

Commit

Permalink
Lift export worker log so it can include ID (#32579)
Browse files Browse the repository at this point in the history
Makes it easier to debug.

GitOrigin-RevId: 3000475c86f0a5c6817e784cf91a4c39002c4999
  • Loading branch information
nipunn1313 authored and Convex, Inc. committed Dec 21, 2024
1 parent 173faa4 commit 4c4c703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/application/src/export_worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ impl<RT: Runtime> ExportWorker<RT> {
F: Fn(String) -> Fut + Send + Copy,
Fut: Future<Output = anyhow::Result<()>> + Send,
{
tracing::info!("Beginning snapshot export...");
let storage = &self.storage;
update_progress("Beginning backup".to_string()).await?;
let (ts, tables, component_ids_to_paths, by_id_indexes, system_tables, component_tree) = {
Expand Down Expand Up @@ -651,6 +650,7 @@ impl<RT: Runtime> ExportWorker<RT> {
let requestor = export.requestor();
drop(export); // Drop this to prevent accidentally using stale state

tracing::info!("Export {id} beginning...");
let (snapshot_ts, object_key, usage) = {
let database_ = self.database.clone();
let export_future = async {
Expand Down

0 comments on commit 4c4c703

Please sign in to comment.