Backport #30003 to branch v25.3.x. This issue was created as a placeholder because the original PR's commit(s) could not be automatically cherry-picked.
Here are the commands to execute:
git checkout v25.3.x
git checkout -b manual-backport-30003-v25.3.x-340
git cherry-pick -x a697aa800f
git push origin manual-backport-30003-v25.3.x-340
gh pr create \
--title "[v25.3.x] cluster/rm_stm: preserve open transaction producers in local snapshots" \
--base "v25.3.x" \
--label "kind/backport" \
--head "manual-backport-30003-v25.3.x-340" \
--draft \
--repo "redpanda-data/redpanda" \
--milestone "v25.3.x-next" \
--body "Backport of PR https://github.com/redpanda-data/redpanda/pull/30003 "
Backport #30003 to branch v25.3.x. This issue was created as a placeholder because the original PR's commit(s) could not be automatically cherry-picked.
Here are the commands to execute: