Skip to content

[v26.1.x] config/tx: have reasonable defaults for idempotency/tx configurations.#30083

Merged
bharathv merged 1 commit intoredpanda-data:v26.1.xfrom
vbotbuildovich:backport-pr-30058-v26.1.x-438
Apr 9, 2026
Merged

[v26.1.x] config/tx: have reasonable defaults for idempotency/tx configurations.#30083
bharathv merged 1 commit intoredpanda-data:v26.1.xfrom
vbotbuildovich:backport-pr-30058-v26.1.x-438

Conversation

@vbotbuildovich
Copy link
Copy Markdown
Collaborator

Backport of PR #30058

max_concurrent_producer_ids: old: int64_max new: 100k
max_transactions_per_coordinator: old: int64_max new: 10k

Neither of these changes have correctness implications. Compared to
defaults, they evict unused producers more aggressively.

The new defaults are also pretty generous and probably cover most
usecases.

Even if a usage falls outside these defaults, worst that could happen is
old producers get evicted to make room for new producers, so the old
producer may have to reinit incase of transactions and most clients are
already equipped to do that and it is fully transparent to idempotent
producers.

On the flip side, this avoids accumulation of a ton of producers in
snapshots and such.

Upgrade considerations: if there is a non default value set, nothing
changes (eg: cloud). If there was no value set, the brokers pick up the
new default and may do a bunch of evictions if there are many historical
producers accumulated (which is rare in most applications).

(cherry picked from commit 7330b45)
@vbotbuildovich vbotbuildovich requested a review from a team as a code owner April 6, 2026 20:04
@vbotbuildovich vbotbuildovich added this to the v26.1.x-next milestone Apr 6, 2026
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Apr 6, 2026
@vbotbuildovich vbotbuildovich requested a review from bharathv April 6, 2026 20:04
@bharathv bharathv marked this pull request as draft April 6, 2026 20:10
@bharathv bharathv marked this pull request as ready for review April 9, 2026 16:42
@bharathv bharathv merged commit ee3a37f into redpanda-data:v26.1.x Apr 9, 2026
20 checks passed
@tyson-redpanda tyson-redpanda modified the milestones: v26.1.x-next, v26.1.3 Apr 9, 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