diggerhq / digger

Digger is an open source IaC orchestration tool. Digger allows you to run IaC in your existing CI pipeline ⚡️
https://digger.dev
Apache License 2.0
4.29k stars 577 forks source link

handle duplicate locks existing during unlock phase #1675

Closed motatoes closed 2 months ago

motatoes commented 2 months ago

Issue: It seems that duplicate locks have made it to the DB table

I'm not sure yet how this has happened but in order to circumvent this issue during unlock of a lock we remove all the records that match in the DB.

Yet to further investigate why duplicate locks are occuring