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.
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 thechangesets
table to diverge from the sum of the disaggregated counts in thecounts
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.