diff options
author | zsdc <taras@vyos.io> | 2020-04-01 17:57:11 +0300 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2020-04-01 18:02:32 +0300 |
commit | c95ef34d6fa09aead77fe6dd17b6ca3d5ce61eaa (patch) | |
tree | 7e27331644fdcb26a037719bd2a7acbb22fbe211 /src/migration-scripts/dhcp-server/4-to-5 | |
parent | 18c7ed34520a806de26316370ed9938e733e090e (diff) | |
download | vyos-1x-c95ef34d6fa09aead77fe6dd17b6ca3d5ce61eaa.tar.gz vyos-1x-c95ef34d6fa09aead77fe6dd17b6ca3d5ce61eaa.zip |
keepalived: T1350: Replaced transition scripts logic
In old implementation, all notify scripts are configured directly inside a keepalived.conf. This way is not recommended even by keepalived as scripts execution is not tracked and they may be running not in order and killed before the actual work will be finished. We have observed such situations in very rare cases during tests.
New implementation use FIFO pipe, to which keepalived send any state changes. And these notifications are read by a daemon, saved in a queue and processed one by one, which eliminates the situation when the scripts creating inconsistent config or environment.
Diffstat (limited to 'src/migration-scripts/dhcp-server/4-to-5')
0 files changed, 0 insertions, 0 deletions