alertmanager/silence
George Robinson b4443817e8
Fix MaxSilences limit causes incomplete updates of existing silences (#3877)
* Fix MaxSilences limit causes incomplete updates of existing silences

This commit fixes a bug where the MaxSilences limit can cause an
incomplete update of existing silences, where the old silence can
be expired but the new silence cannot be created because it would
exceeded the maximum number of silences.

Signed-off-by: George Robinson <george.robinson@grafana.com>

---------

Signed-off-by: George Robinson <george.robinson@grafana.com>
2024-06-24 15:11:10 +01:00
..
silencepb Update github.com/gogo/protobuf to v1.3.2 (#2478) 2021-02-09 16:49:07 +01:00
silence.go Fix MaxSilences limit causes incomplete updates of existing silences (#3877) 2024-06-24 15:11:10 +01:00
silence_bench_test.go Remove Id return from silences.Set(*pb.Silence) 2024-06-20 15:47:49 +01:00
silence_test.go Fix MaxSilences limit causes incomplete updates of existing silences (#3877) 2024-06-24 15:11:10 +01:00