liuhaoXD opened a new issue #4230: server-alarm-plugin 可能存在的线程不安全问题
URL: https://github.com/apache/skywalking/issues/4230
 
 
   
https://github.com/apache/skywalking/blob/f9cf17be24304bdf4afef423cbb0d5e4925f668f/oap-server/server-alarm-plugin/src/main/java/org/apache/skywalking/oap/server/core/alarm/provider/RunningRule.java#L232
   
   234 行的 this.moveTo 操作是线程不安全的,lock() 操作应该放在 minutes 变量声明之前,而且 233 行的 if 逻辑跟 
240 行重复了

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to