More performance tweaks

This commit is contained in:
Olof hagsand 2019-04-21 17:29:11 +02:00
parent 8c36083e16
commit 6a0628141a
9 changed files with 63 additions and 24 deletions

View file

@ -254,7 +254,8 @@ When the startup process is completed, a startup status is set and is accessible
If the startup fails, the backend looks for a `failsafe` configuration
in `CLICON_XMLDB_DIR/failsafe_db`. If such a config is not found, the
backend terminates.
backend terminates. In this mode, running and startup mode should be
unchanged.
If the failsafe is found, the failsafe config is loaded and
committed into the running db.
@ -405,6 +406,7 @@ running |--------+------------> GOTO EXTRA XML
### Running mode
On failure, running is restored to initial state
```
running ----+ |----------+--------> GOTO EXTRA XML
\ copy parse validate OK / commit
@ -420,7 +422,7 @@ running |--------+------------> GOTO EXTRA XML
startup -------+--+-------+------------+
```
### Failure
### Failure if failsafe
```
failsafe ----------------------+
reset \ commit