Project

General

Profile

Actions

Bug #16480

closed

[keep-balance] should not timeout/fail when keepstore index takes more than 5 minutes

Added by Tom Clegg almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Keep
Target version:
Story points:
-
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.


Subtasks 1 (0 open1 closed)

Task #16486: Review 16480-keep-balance-index-timeoutResolvedWard Vandewege06/16/2020Actions
Actions

Also available in: Atom PDF