diff options
| author | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-10-01 22:53:40 +0700 |
|---|---|---|
| committer | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-10-01 22:53:40 +0700 |
| commit | d16a88c2717e87f9184587281547e45506df4215 (patch) | |
| tree | 509c15074abab97215fe6b04c36d6372fd394b61 /src/migration-scripts | |
| parent | dfe2203a7fe7fa24de3fa2d8e82fa85dbb0eba52 (diff) | |
| download | vyos-1x-d16a88c2717e87f9184587281547e45506df4215.tar.gz vyos-1x-d16a88c2717e87f9184587281547e45506df4215.zip | |
frrender: T9377: do not save the FRR configuration a second time
apply() runs frr-reload.py --reload without --daemon, and in that mode
frr-reload.py saves the configuration itself (vtysh "write" to
/etc/frr/frr.conf, bind-mounted from /run/frr/config/frr.conf). The
following vtysh -n --writeconfig, added by T3217 when VyOS still reloaded
one daemon at a time with --daemon, writes the same file again and asks
every daemon for its configuration once more.
That second round trip comes several seconds after the change was
applied. On a large FRR configuration it reaches bgpd after the route-map
update timer (5 s) has started a policy walk, and the commit then waits
until the walk ends: on a 20,000-line FRR configuration with 100 update
groups and 500,000 routes a policy commit took 497.9/501.0 s against
381.1/381.6 s without this second save.
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions
