cashapp / backfila

Service that manages backfill state, calling into other services to do batched work
https://cashapp.github.io/backfila/
Apache License 2.0
30 stars 49 forks source link

Fix versioning to always be increasing. #359

Closed staktrace closed 9 months ago

staktrace commented 9 months ago

This mirrors the fix in https://github.com/cashapp/misk/pull/3036 which corrects a subtle defect in the versioning algorithm. The version numbers could end up going backwards due to the timezone of the commit timestamp. The UTC normalization in this PR fixes it.