API object deletion unreliable if HA zone is not connected #10022
Labels
area/api
REST API
area/distributed
Distributed monitoring (master, satellites, clients)
bug
Something isn't working
When deleting objects using the REST API while the nodes aren't connected in an HA zone results in the objects reappearing at a later time.
To Reproduce
/var/lib/icinga2/api/packages/_api/*/conf.d/hosts/test-delete-*.conf
on both masters to verify the objects exist on both.Theory on what happens
When both masters reconnect, both generate messages to sync the other. The first master will replay the delete messages to the second and the second will send the object updates for the (from its perspective still existing) objects to the first master causing them to reappear.
Your Environment
Tested with the current master (9e31b8b).
The text was updated successfully, but these errors were encountered: