bind9/bin
Colin Vidal 4b566599a6 refactor detection of zone DB load completion
Because the asynchronous loading logic expected all jobs to be scheduled
then to be run (because it used to be scheduled during the exclusive
mode) and because all jobs are scheduled on various threads, there were
random situations where load_zones() would return after the scheduled
DB zone loading actually ran. In such cases, the zl->refs ref counter
in view_loaded() wouldn't go down to 0 and the remaining task to do
once all zones were loaded was never called. In particular,
server->reload_status kept the NAMED_RELOAD_PENDING state.

This problem is fixed by handling zoneload_t as a ref-counted object,
shared between load_zones() and each instance of scheduled zone DB
loading. Its destructor function is actually the content of
view_loaded() in the case the zt->refs went to 0. This ensures a
correct post-loading routine to be called once the last load is done.
2025-11-18 12:16:14 +01:00
..
check "named-checkconf -b" dumps built-in config 2025-11-04 09:26:33 +01:00
confgen Change the 'isc_g_mctx' to be always available 2025-08-04 11:29:50 +02:00
delv fix delv when using the builtin trust-anchors 2025-10-29 13:55:47 -07:00
dig avoid retrying a server if its address is unusable 2025-11-03 19:37:09 +00:00
dnssec cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
include move default configuration to common bin/include folder 2025-10-29 13:55:04 -07:00
named refactor detection of zone DB load completion 2025-11-18 12:16:14 +01:00
nsupdate cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
plugins cfg_parse_ functions internally handle the parser 2025-10-23 13:01:08 -07:00
rndc add showconf in RNDC usage 2025-11-18 09:23:10 +01:00
tests harden configloading system test 2025-11-18 12:16:14 +01:00
tools mdig: fix implicit bool to int cast 2025-11-12 11:31:28 +01:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00