Werk #8362 · Nov 27, 15
Improved error handling in case of upgrades/downgrades
CMC stores its current state in versioned state files, which are only downwards-compatible. When an incompatible state file is found, we immediately terminate the monitoring core during startup.
- When the state file version is older than the current one (e.g. after an upgrade), convert it on the fly (as previously), but keep a backup of the previous version in "state-version-XY".
- When the state file version is newer than the current one (e.g. after a downgrade), emit an error message, hinting at the backup version if there is one.
Details
- Class:
- Bug Fixes
- Level:
- Prominent
- Component:
- Core
- Versions:
- 1.2.7i4ProUltimate + MT