summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2020-04-01 17:57:11 +0300
committerzsdc <taras@vyos.io>2020-04-01 18:02:32 +0300
commitc95ef34d6fa09aead77fe6dd17b6ca3d5ce61eaa (patch)
tree7e27331644fdcb26a037719bd2a7acbb22fbe211 /python
parent18c7ed34520a806de26316370ed9938e733e090e (diff)
downloadvyos-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 'python')
0 files changed, 0 insertions, 0 deletions