18071: Use dblock to avoid concurrent keep-balance ops.
authorTom Clegg <tom@curii.com>
Wed, 26 Oct 2022 21:00:42 +0000 (17:00 -0400)
committerTom Clegg <tom@curii.com>
Thu, 27 Oct 2022 15:03:26 +0000 (11:03 -0400)
commitaa9507e1633819259794ea4d6cf391dc88621dac
tree3a1e34e86fba162450b0ffb6ad34a16129118518
parentdee23e534ab1c84fbe2e34730c0327989cc263ac
18071: Use dblock to avoid concurrent keep-balance ops.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
lib/controller/dblock/dblock.go
lib/controller/trash.go
services/keep-balance/balance.go
services/keep-balance/balance_run_test.go
services/keep-balance/integration_test.go
services/keep-balance/main.go
services/keep-balance/server.go