You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
toujours33
changed the title
[Bug] [Alert] AbstractEventSender send event status doesn't make any sense
[Bug] [Alert] AlertSendStatus doesn't make any sense.
Nov 19, 2024
Search before asking
What happened
After alert sent, the
AlertStatus
keepPartialSuccess
whenever the alert behavior was.long failureCount = alertSendStatuses.stream()
.map(alertSendStatus -> alertSendStatus.getSendStatus() == AlertStatus.EXECUTION_FAILURE)
.count();
long successCount = alertSendStatuses.stream()
.map(alertSendStatus -> alertSendStatus.getSendStatus() == AlertStatus.EXECUTION_SUCCESS)
.count();
failureCount or successCount are consistent for
map
function changeAlertSendStatus
stream toBoolean
stream.What you expected to happen
The
failureCount
andsuccessCount
must count correctlyHow to reproduce
All
and Alarm Group in 1st stept_ds_alert
, you can seealert_status
column all in value 3, which means PartialSuccess.Anything else
No response
Version
dev
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: