Skip to content

Validate max_batches in compact_chunk - #10340

Merged
Poroma-Banerjee merged 1 commit into
timescale:mainfrom
Poroma-Banerjee:tsbug
Jul 28, 2026
Merged

Validate max_batches in compact_chunk#10340
Poroma-Banerjee merged 1 commit into
timescale:mainfrom
Poroma-Banerjee:tsbug

Conversation

@Poroma-Banerjee

Copy link
Copy Markdown
Member

Replace Assert with ereport for negative max_batches so callers get a proper error instead of a crash in debug builds.

Found by LLM fuzzer

@Poroma-Banerjee Poroma-Banerjee added this to the v2.29.0 milestone Jul 27, 2026
@Poroma-Banerjee Poroma-Banerjee added the force-auto-backport Automatically backport this PR or fix of this issue, even if it's not marked as "bug" label Jul 27, 2026
@github-actions
github-actions Bot requested review from dbeck and melihmutlu July 27, 2026 20:36
@github-actions

Copy link
Copy Markdown

@dbeck, @melihmutlu: please review this pull request.

Powered by pull-review

Replace Assert with ereport for negative max_batches
so callers get a proper error instead of a crash in
debug builds.
@philkra philkra modified the milestones: v2.29.0, v2.29.1 Jul 28, 2026
@Poroma-Banerjee Poroma-Banerjee removed the force-auto-backport Automatically backport this PR or fix of this issue, even if it's not marked as "bug" label Jul 28, 2026
@Poroma-Banerjee
Poroma-Banerjee merged commit 18251a9 into timescale:main Jul 28, 2026
76 of 80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants