polarsignals / frostdb

❄️ Coolest database around 🧊 Embeddable column database written in Go.
Apache License 2.0
1.27k stars 65 forks source link

dst: fix data verification logic #907

Closed asubiotto closed 1 month ago

asubiotto commented 1 month ago

This commit updates the verification logic to expect all successfully written timestamps except when there was an error writing a value to the WAL. Previously, the fake log store was accumulating correctly written values but this wasn't much use so it has been changed to accumulate values that could not be written to the WAL and removing those from the expected values.

These commits are cherry-picked from #895 in preparation of closing that PR and proposing a new method.