project8 / dripline-python

python implementation of project8/dripline
Other
2 stars 0 forks source link

crash on failed exclusive locks #37

Closed laroque closed 5 years ago

laroque commented 5 years ago

Currently, when a channel is unable to provide an exclusive lock there is no exception and the service sleeps ~5 seconds and then tries again. This is problematic because as a result the desired setup calls are not executed and services do not spin up in the desired/expected state.

Rather than doing the above, this solution is to simply crash the service. It is then on the user/process management to restart (hopefully after the exclusive lock conflict is resolved).

Note: This has been merged on dripline-org's dripline-python and tagged at v3.7.3, it would be ideal if we could get this in to project8's repo with the same version.

wcpettus commented 5 years ago

@laroque : you're PR'ing directly into master here to direct tag?