]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove name boundary optimization 12142/head
authorAlessio Podda <alessio@isc.org>
Fri, 22 May 2026 15:58:10 +0000 (17:58 +0200)
committerAlessio Podda <alessio@isc.org>
Mon, 1 Jun 2026 11:49:55 +0000 (13:49 +0200)
commit2c998e4e0095f222270803cc70342e543055447c
treee10200e306a863636cdf6513332f74a7adcb444b
parent1407f48670dd4007c9cfce1c97ae2d9cf5785ece
Remove name boundary optimization

In MR !9740, we introduced an optimization that reduces memory usage
by processing rdatas in batches during AXFR.

The maximum batch size is 128, but the batch size was allowed to grow
beyond that limit if all rdatas in a batch were for the same name, as
that allows a more efficient optimization.

This optimization could theoretically allow the batch size arbitrarily
for a sufficient large zone transfer. Since synthetic tests don't show
any performance improvement from the optimization, this MR removes it.

(cherry picked from commit 7502e73333943fb45ce0a679aac5ccfce75012aa)
lib/dns/diff.c
lib/dns/include/dns/diff.h
lib/dns/xfrin.c