Skip to content

Commit

Permalink
Log the extent deletion count
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyh committed Sep 24, 2020
1 parent 2f57266 commit a34234b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cubedash/summary/_extents.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ def refresh_product(
change_count += engine.execute(
DATASET_SPATIAL.delete().where(DATASET_SPATIAL.c.id.in_(datasets_to_delete))
).rowcount
log.debug(
"extent_removal.end",
deleted_count=change_count,
)

insert_count = _populate_missing_dataset_extents(
engine, product, force_update_all=recompute_all_extents, after_date=after_date
Expand Down

0 comments on commit a34234b

Please sign in to comment.