mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
... i.e. UUID -> SHA1(env, eventType, x...) given that SHA1(env, x...) = type-specific ID. Rationale: allow both masters to write the same history concurrently (while not in split-brain), so that REPLACE INTO deduplicates the same events written twice. * ack: SHA1(env, "ack_set"|"ack_clear", checkable.name, setTime) * comment: SHA1(env, "comment_add"|"comment_remove", comment.name) * downtime: SHA1(env, "downtime_start"|"downtime_end", downtime.name) * flapping: SHA1(env, "flapping_start"|"flapping_end", checkable.name, startTime) * notification: SHA1(env, "notification", notification.name, notificationType, sendTime) * state: SHA1(env, "state_change", checkable.name, changeTime)