Skip to content

Commit

Permalink
core: better logging of upserts steps (#8282)
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu authored Oct 28, 2024
1 parent 8ade0e2 commit b11327b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/src/databases/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ impl LocalTable {
}
info!(
duration = utils::now() - now,
"DSSTRUCTSTAT Upsert rows validation"
table_id = self.table.table_id(),
"DSSTRUCTSTAT [upsert_rows] validation"
);

now = utils::now();
Expand All @@ -285,6 +286,7 @@ impl LocalTable {
};
info!(
duration = utils::now() - now,
table_id = self.table.table_id(),
"DSSTRUCTSTAT [upsert_rows] table schema"
);

Expand All @@ -299,6 +301,7 @@ impl LocalTable {
.await?;
info!(
duration = utils::now() - now,
table_id = self.table.table_id(),
"DSSTRUCTSTAT [upsert_rows] update table_schema"
);

Expand All @@ -321,6 +324,7 @@ impl LocalTable {
}
info!(
duration = utils::now() - now,
table_id = self.table.table_id(),
"DSSTRUCTSTAT [upsert_rows] invalidate table schema"
);

Expand All @@ -335,6 +339,7 @@ impl LocalTable {
.await?;
info!(
duration = utils::now() - now,
table_id = self.table.table_id(),
"DSSTRUCTSTAT [upsert_rows] rows upsert"
);

Expand All @@ -361,6 +366,7 @@ impl LocalTable {
.await?;
info!(
duration = utils::now() - now,
table_id = self.table.table_id(),
"DSSTRUCTSTAT [upsert_rows] invalidate dbs"
);

Expand Down

0 comments on commit b11327b

Please sign in to comment.