-
Notifications
You must be signed in to change notification settings - Fork 989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug]fix the monitor status is abnormal #2070
Conversation
fix #2062 |
hi, this relates the common alarm part. Please wait that we need time to conduct a detailed test, review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 lgtm!
if ((currentAlert.getTags() != null && currentAlert.getTags().containsKey(CommonConstants.IGNORE)) | ||
|| currentAlert.getStatus() == CommonConstants.ALERT_STATUS_CODE_RESTORED) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ((currentAlert.getTags() != null && currentAlert.getTags().containsKey(CommonConstants.IGNORE)) | |
|| currentAlert.getStatus() == CommonConstants.ALERT_STATUS_CODE_RESTORED) { | |
if (currentAlert.getStatus() == CommonConstants.ALERT_STATUS_CODE_RESTORED) { |
status always is the ALERT_STATUS_CODE_RESTORED when tags has CommonConstants.IGNORE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In both cases, the data in the map needs to be deleted,if remove (|| currentAlert . getStatus () == CommonConstants . ALERT_STATUS_CODE_RESTORED ),So when the label is not IGNORE,Unable to clear cache
fix the monitor status is abnormal