mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 12:20:00 -04:00
Test that flushing the delegdb via `rndc flush` preserves its configured size limit. The test checks delegdb watermarks after `named` startup, flushes caches, and verifies that the delegdb watermarks are correctly restored afterwards. To distinguish between the previous `delegdb` memory contexts and the new ones, we need to know exactly when the previous `delegdb` memory contexts are removed (this is not immediate, since those are removed during RCU reclamation phase). A trace is therefore added when a memory context is destroyed, if `ISC_MEM_DEBUGTRACE` is set. |
||
|---|---|---|
| .. | ||
| ns1 | ||
| tests_delegdb_flush.py | ||