Project

General

Profile

Bug #1308

告警处理由于没有使用原子操作,造成缺失、重复等问题

Added by xiangyang li over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
03/25/2021
Due date:
% Done:

100%

Estimated time:
Spent time:
Defect version:

Description

多线程、多进程情况下对告警的处理,在争夺控制权时,由于没有使用原子操作,会存在错误的可能性。
最终的结果会造成告警丢失、告警重复等问题。

History

#1

Updated by jiwei shi over 3 years ago

  • Status changed from New to In Progress
#2

Updated by jiwei shi over 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

测试查找告警缺失、确认不掉;
修复:libalm抓取控制权使用atomic原子操作方式;

Also available in: Atom PDF