world-federation-of-advertisers / cross-media-measurement

Apache License 2.0
33 stars 11 forks source link

Metric State can be incorrectly set to SUCCEEDED. #1616

Closed tristanvuong2021 closed 2 months ago

tristanvuong2021 commented 2 months ago

Describe the bug This PR added Metric state to the database. When updating Measurements to SUCCEEDED, if not every Measurement for a Metric has been updated to SUCCEEDED so far, but some has been updated to SUCCEEDED, the Metric state will incorrectly be updated to SUCCEEDED.

Component(s) affected Reporting Server

Version v0.5.2 and newer