azavea / osmesa-stat-server

temporary home of statistics server for processed OSM data
6 stars 3 forks source link

Temporary fix to total_edits column of changesets table #25

Closed jpolchlo closed 4 years ago

jpolchlo commented 5 years ago

THIS PR IS A RECORD OF A TEMPORARY FIX. DO NOT MERGE

We discovered a problem in azavea/osmesa that causes the total_edits column in the changesets table to diverge from the sum of the disaggregated counts in the counts column during streaming update. For various reasons, it made more sense to patch together a quick fix through the materialized views of the DB than to fix the DB. The permanent fix of the DB will come later and be applied to the azavea/osmesa repo. This PR will be closed at that time. I'm making this hacky fix available in this PR for posterity and good record keeping.