Skip to content

Prepare 0.34.1 - #5556

Merged
SoloJacobs merged 6 commits into
prometheus:release-0.34from
Spaceman1701:prepare-0.34.1
Sep 16, 2026
Merged

SoloJacobs merged 6 commits into
prometheus:release-0.34from
Spaceman1701:prepare-0.34.1

Conversation

@Spaceman1701

@Spaceman1701 Spaceman1701 commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Prepare 0.34.1 with the inhibitor fixes from #5542, #5449, #5559 and dependency updates from #5468

Comment thread CHANGELOG.md Resolved
Mostafa-Yehia and others added 5 commits September 16, 2026 05:22
…s#5468)

chore(deps): bump golang.org/x/mod to fix CVEs

Signed-off-by: Mostafa-Yehia <[email protected]>
Signed-off-by: Ethan Hunter <[email protected]>
This fix is based on HRT's inhibitor implementation. It updates the index so that each equal-labels key holds a `FingerprintSet` instead of a `Fingerprint` so that the index stores _every_ matching source alert instead of _one_ matching source alert.

This allows the inhibitor to search through all the alerts in the index for the set of equal-labels to select the best candidate. Worst case, this does degrade inhibitor performance to `O(n)`, but in practice it should be similar to today (since the first element of the set is most likely a viable candidate).

```release-notes
[BUGFIX] fix various issues with the inhibitor improperly skipping inhibits when the indexed source alert is resolved but other alerts are present.
```

---------

Signed-off-by: Ethan Hunter <[email protected]>
…#5559)

This change replaces the `store.Alerts` with a new `cache` type in the
inhibitor. The `cache` is essentially a merged `store.Alerts` and
inhibitor `index` that work under a single lock. This allows operations
to modify the cache and index atomically, solving a bunch of possible
race conditions in the Inhibitor.

I believe that this resolves the last problems caught by the new tests
added in prometheus#5449.

```release-notes
[BUGFIX]: Fix a race condition where the inhibitor could get into a bad state and fail to inhibit some alerts in some circumstances
```

Signed-off-by: Ethan Hunter <[email protected]>
Signed-off-by: Ethan Hunter <[email protected]>
@SoloJacobs
SoloJacobs merged commit 343df1d into prometheus:release-0.34 Sep 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants