]> git.ipfire.org Git - thirdparty/bind9.git/commit
Incrementally apply AXFR transfer
authoralessio <alessio@isc.org>
Sun, 3 Nov 2024 20:25:15 +0000 (21:25 +0100)
committeralessio <alessio@isc.org>
Fri, 22 Nov 2024 14:00:55 +0000 (15:00 +0100)
commit99b4f01b334d2a6cd6ff57069f5c06d06a52726b
treedcafafa56c6e322f91bb06ac35e905a2bd83642e
parent9f628a34cd5b4bc547c5f9b45dd75b503d5be143
Incrementally apply AXFR transfer

Reintroduce logic to apply diffs when the number of pending tuples is
above 128. The previous strategy of accumulating all the tuples and
pushing them at the end leads to excessive memory consumption during
transfer.

This effectively reverts half of e3892805d6
13 files changed:
bin/tests/system/masterformat/ns1/compile.sh
bin/tests/system/masterformat/ns1/named.conf.in
bin/tests/system/masterformat/ns2/named.conf.in
bin/tests/system/masterformat/setup.sh
bin/tests/system/masterformat/tests.sh
bin/tests/system/masterformat/tests_sh_masterformat.py
lib/dns/diff.c
lib/dns/include/dns/diff.h
lib/dns/xfrin.c
lib/isc/include/isc/region.h
lib/isc/region.c
tests/dns/Makefile.am
tests/dns/diff_test.c [new file with mode: 0644]