Werk #13076: REST API missing and duplicated hosts problem

Komponente Core & setup
Titel REST API missing and duplicated hosts problem
Datum 18.10.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0p13 2.1.0i1
Level Grundlegende Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

This Werk fixes a very severe data inconsistency problem in the REST API.

Previously, only the actual working code of the individual endpoints were locked, but the validation logic which gets executed before the endpoints didn't fall into that locking scope. This logic could then trigger a cache load which could lead to data inconsistency and even data loss when using the REST API highly concurrently.

The observed effects were:

* when moving hosts concurrently, some hosts may disappear * when moving hosts concurrently, some hosts may end up in multiple folders * when editing hosts, spurious 421 or 401 responses could appear

The locks have now been modified to encompass also the validation logic.

This Werk fixes the afore mentioned problems.

There are no further actions to be taken.

Zur Liste aller Werks