5ab9f7c970
etcd PR 11104 (https://github.com/etcd-io/etcd/pull/11104) implemented mutex TryLock. Since it's only available in etcd master just copy relevant code and add a TODO to remove it when updating the etcd client to a version implementing TryLock. Use TryLock everywhere where it'll be useful. |
||
---|---|---|
.. | ||
action | ||
api | ||
common | ||
readdb | ||
store | ||
runservice.go | ||
scheduler.go | ||
scheduler_test.go |