Skip to content

[v25.3.x] [CORE-15307] better prefix truncation checks#29296

Merged
michael-redpanda merged 2 commits intoredpanda-data:v25.3.xfrom
vbotbuildovich:backport-pr-29274-v25.3.x-634
Jan 16, 2026
Merged

[v25.3.x] [CORE-15307] better prefix truncation checks#29296
michael-redpanda merged 2 commits intoredpanda-data:v25.3.xfrom
vbotbuildovich:backport-pr-29274-v25.3.x-634

Conversation

@vbotbuildovich
Copy link
Copy Markdown
Collaborator

Backport of PR #29274

Add a new virtual method to check if a sink partition supports prefix
truncation before attempting the operation. The real implementation
checks if the partition is locally collectable.

Signed-off-by: Michael Boquard <michael@redpanda.com>
(cherry picked from commit e23a58c)
…itions

Check can_prefix_truncate() before attempting to synchronize start
offsets. This avoids unnecessary work for partitions that don't support
prefix truncation.

Signed-off-by: Michael Boquard <michael@redpanda.com>
(cherry picked from commit 3ea21c6)
@vbotbuildovich vbotbuildovich added this to the v25.3.x-next milestone Jan 16, 2026
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jan 16, 2026
Copy link
Copy Markdown
Contributor

@michael-redpanda michael-redpanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean backport

@vbotbuildovich
Copy link
Copy Markdown
Collaborator Author

CI test results

test results on build#79162
test_class test_method test_arguments test_kind job_url test_status passed reason test_history
NodePreRestartProbeTest pre_restart_probe_test null integration https://buildkite.com/redpanda/redpanda/builds/79162#019bc752-0bd9-482d-85b6-19f265000be1 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=NodePreRestartProbeTest&test_method=pre_restart_probe_test

@michael-redpanda michael-redpanda merged commit 8d67256 into redpanda-data:v25.3.x Jan 16, 2026
19 checks passed
@tyson-redpanda tyson-redpanda modified the milestones: v25.3.x-next, v25.3.6 Jan 21, 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