13647: Don't check pending keepstore migrations during API startup.
authorTom Clegg <tclegg@veritasgenetics.com>
Fri, 27 Sep 2019 17:38:35 +0000 (13:38 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Fri, 27 Sep 2019 17:38:35 +0000 (13:38 -0400)
commit110580d079cdb0b0a773ecf1671c1f97f1736cc6
treee8459eb74026086703ab28afe802063df3a4fae0
parent7c0257925a75185937c4a84dfd077458a24c53f9
13647: Don't check pending keepstore migrations during API startup.

Fixes deadlock: If controller is already up when RailsAPI boots,
RailsAPI runs "config-dump -skip-legacy", which (until this change)
requests .../keep_services; controller forwards the request to
RailsAPI; and passenger queues the request until RailsAPI finishes
booting.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
lib/config/deprecated_keepstore.go
lib/config/load.go