dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
277 stars 132 forks source link

info: use DGA refresh rate as message timeout #7528

Closed paulmillar closed 3 months ago

paulmillar commented 4 months ago

Motivation:

DGAs send messages to other dCache cells to discover their current status. These messages have a hard-coded one second timeout.

Some queries are data-intensive and could take longer than one second to build the answer, resulting in no information being provided.

Modification:

DGAs already have the concept of some queries taking longer: the DGA refresh period. This period is how long the DGA will wait, after querying a cell, before querying the cell for updated information.

Therefore, it makes sense to use this DGA refresh period as the timeout for messages send to other cells.

Result:

The info service will now wait longer for a cell to respond to a query for information.

Target: master Requires-notes: yes Requires-book: no Request: 9.2 Ticket: https://rt.dcache.org/Ticket/Display.html?id=10592 Patch: https://rb.dcache.org/r/14226/ Acked-by: Tigran Mkrtchyan Acked-by: Lea Morschel

svemeyer commented 4 months ago

retest this please