Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changes/unreleased/operator-Fixed-20260423-224719.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
project: operator
kind: Fixed
body: Fixed an issue where in-use features from an enterprise cluster did not have deterministic sort order and could cause reconciliation storms due to status changes.
time: 2026-04-23T22:47:19.373877-04:00
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"bytes"
"context"
"fmt"
"sort"
"strings"
"time"

Expand Down Expand Up @@ -638,6 +639,10 @@ func (r *RedpandaReconciler) reconcileLicense(ctx context.Context, state *cluste
inUseFeatures = append(inUseFeatures, feature.Name)
}
}
// features.Features iterates a map under the hood; sort the
// resulting slice so repeated reconciles produce byte-identical
// status.
sort.Strings(inUseFeatures)

status := &redpandav1alpha2.RedpandaLicenseStatus{
InUseFeatures: inUseFeatures,
Expand Down
Loading