In our case, log-agent will hold this last line and not sending it for several days(far more than the default ten minutes), which results in alarm delays.
The may causing by following variables which are not marked with the volatile keyword may not be updated correctly in multi-threaded scenarios.
In our case, log-agent will hold this last line and not sending it for several days(far more than the default ten minutes), which results in alarm delays.
The may causing by following variables which are not marked with the volatile keyword may not be updated correctly in multi-threaded scenarios.
https://github.com/XiaoMi/ozhera/blob/c4dd93856da577c5ccfc1af48170cd9a0b64f8ae/ozhera-log/log-agent/src/main/java/com/xiaomi/mone/log/agent/channel/ChannelServiceImpl.java#L96