Skip to content

Optimize zonedb reload for many zones

Daniel Salzman requested to merge conf-commit-optim into master

The MR contains:

  • A simple optimization of incremental configuration update (could be backported).
  • create_zonedb() is divided and optimized to 3 cases:
    • Dynamic configuration commit with incremental zone changes support (using on qptrie COW).
    • Catalog update processing with incremental zone changes support (using on qptrie COW).
    • Other full reload cases.
  • Zone database no longer uses a memory pool as qptrie (COW) is mostly reused.
  • Dynamic configuration updates are processed only when RELOAD_COMMIT.
  • Catalog updates are processed when RELOAD_CATALOG or RELOAD_FULL or RELOAD_ZONES.
Edited by Daniel Salzman

Merge request reports

Loading