nigoroll / libvmod-dynamic

The Varnish dns/named director continued
BSD 2-Clause "Simplified" License
95 stars 34 forks source link

Director Layering triggers domain_timeout, consequently no backend is returned #102

Closed nigoroll closed 1 year ago

nigoroll commented 1 year ago

When layering a dynamic director under another director, the last use is not updated and, when the domain timeout expires, the director stops returning backends (FetchError Director ONTOP returned no backend with ONTOP being the director having configured a dynamic domain as a backend). I guess this use case makes the whole concept of a domain timeout useless, but I'll need to ponder this for a bit.

nigoroll commented 1 year ago

Outcome of pondering:

In d1f5b141a85ede85cfcde987f665ce4559836c30 and other commits, I already started to move control away from the object to the domain director, and this renovation needs to be finished. Also control over the thread needs to be coupled to the domain director life cycle, considering also the temperature transitions.