20472: Always do "select for update" before priority update 20472-priority-update
authorPeter Amstutz <peter.amstutz@curii.com>
Thu, 4 May 2023 20:11:49 +0000 (16:11 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Thu, 4 May 2023 20:11:49 +0000 (16:11 -0400)
commitd30cad367216981766344fea34c3d439bafbc8f5
tree8b9f699dcdceba7c0937def25eb61909b9884c7b
parentd018aa211d3efc93c711248851db379b19fa60a1
20472: Always do "select for update" before priority update

Code cleanup.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
services/api/app/controllers/arvados/v1/container_requests_controller.rb
services/api/app/controllers/arvados/v1/containers_controller.rb
services/api/db/migrate/20230503224107_priority_update_functions.rb
services/api/db/structure.sql
services/api/lib/update_priorities.rb