Skip to content

[v25.3.x] health_monitor_backend: dangling reference fix#29932

Merged
joe-redpanda merged 1 commit into
redpanda-data:v25.3.xfrom
vbotbuildovich:backport-pr-29909-v25.3.x-581
Mar 23, 2026
Merged

[v25.3.x] health_monitor_backend: dangling reference fix#29932
joe-redpanda merged 1 commit into
redpanda-data:v25.3.xfrom
vbotbuildovich:backport-pr-29909-v25.3.x-581

Conversation

@vbotbuildovich
Copy link
Copy Markdown
Collaborator

Backport of PR #29909

The inner loop within fill_aggregate_with_offline_partitions would use
an iterator pointing to potentially invalid memory. Although the first
few statements in the inner lambda check whether the outer iterator was
stable for this duration, invalid memory was already read in iterating
against the inner iterator.

This change swaps 'for' for 'while', such that outer iterator stability
can be checked BEFORE incrementing the inner iterator.

(cherry picked from commit 092097e)
@vbotbuildovich vbotbuildovich added this to the v25.3.x-next milestone Mar 23, 2026
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Mar 23, 2026
@vbotbuildovich
Copy link
Copy Markdown
Collaborator Author

CI test results

test results on build#82239
test_class test_method test_arguments test_kind job_url test_status passed reason test_history
RpkRedpandaStartTest test_rpc_tls_start null integration https://buildkite.com/redpanda/redpanda/builds/82239#019d1c95-1a6e-45b6-b05f-457fdd957449 FLAKY 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0000, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.1000, p1=0.3487, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=RpkRedpandaStartTest&test_method=test_rpc_tls_start

@joe-redpanda joe-redpanda merged commit 226b517 into redpanda-data:v25.3.x Mar 23, 2026
19 checks passed
@piyushredpanda piyushredpanda modified the milestones: v25.3.x-next, v25.3.12 Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/redpanda kind/backport PRs targeting a stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants