Actions
Bug #16480
closed[keep-balance] should not timeout/fail when keepstore index takes more than 5 minutes
Story points:
-
Release:
Release relationship:
Auto
Description
Currently sdk/go/arvados.Client
uses a 5-minute request timeout when the caller (like keep-balance) doesn't provide a custom *http.Client
. This isn't enough time to complete a keepstore index request on a cloud install with lots of data. When the timeout expires, keep-balance just gives up on the current iteration, goes to sleep, and waits for the next one, which is unlikely to fare any better.
It may be worth having an idle timer to detect hung connections, but aside from that keep-balance should wait as long as it takes for keepstore to return an index response.
Actions