mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-17 16:15:20 +00:00
f9ca700352
Problem 1: Apply affects all entities (should only affect changed ones) Problem 2: Reject rollback not working (entity stays at new value) Added detailed logging: - Snapshot creation: JSON test result, field count - Frontend update: metadata keys, entity_snapshot presence - Reject: metadata parsing, entity_snapshot detection - Rollback: entity data, operation type, old_values - _rollback_update: Before/after values, UPDATE query result - Verify: Post-rollback database state This will help identify: - Is snapshot being created? - Is metadata being saved to database? - Is metadata being parsed during reject? - Is rollback function being called? - Is UPDATE query executing? - What are the actual values being restored? Log locations to check: kubectl logs deployment/haproxy-openmanager-backend -n haproxy-openmanager | grep 'SNAPSHOT\|ROLLBACK\|REJECT'