VictoriaMetrics/app/vmalert/rule
Hui Wang abd2f34833
vmalert: fix blocking hot-reload process if the old rule group hasn't started yet (#7258)
Group
[sleeps](daa7183749/app/vmalert/rule/group.go (L320))
random duration before start the evaluation, and during the sleep,
`g.updateCh <- new` will be blocked since there is no `<-g.updateCh`
waiting.

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>

(cherry picked from commit c4fe23794a)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-10-18 11:42:47 +02:00
..
alerting.go vmalert: fix variable $activeAt value when templating rule annotation in replay mode 2024-09-20 17:34:54 +02:00
alerting_test.go vmalert: fix variable $activeAt value when templating rule annotation in replay mode 2024-09-20 17:34:54 +02:00
group.go vmalert: fix blocking hot-reload process if the old rule group hasn't started yet (#7258) 2024-10-18 11:42:47 +02:00
group_test.go vmalert: fix blocking hot-reload process if the old rule group hasn't started yet (#7258) 2024-10-18 11:42:47 +02:00
group_timing_test.go tests: fix slice init length (#6897) 2024-08-30 11:18:21 +02:00
recording.go vmalert: automatically add exported_ prefix for original evaluation… (#5398) 2023-12-22 16:10:33 +01:00
recording_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:45:50 +02:00
rule.go docs: update vmalert and vmagent docs (#6207) 2024-04-30 10:30:19 +02:00
rule_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
test_helpers.go app/vmalert/rule: reduce number of allocations for getStaleSeries fn (#6269) 2024-05-16 09:35:51 +02:00
utils.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
utils_test.go docs: fixes misspelled typos 2024-09-13 13:19:03 +02:00