Skip to content

Fix panic when attempting to set default_timestamp_interval to 0#36853

Open
peterdukelarsen wants to merge 3 commits into
MaterializeInc:mainfrom
peterdukelarsen:pl/ss-147-thread-coordinator-panic
Open

Fix panic when attempting to set default_timestamp_interval to 0#36853
peterdukelarsen wants to merge 3 commits into
MaterializeInc:mainfrom
peterdukelarsen:pl/ss-147-thread-coordinator-panic

Conversation

@peterdukelarsen
Copy link
Copy Markdown
Contributor

@peterdukelarsen peterdukelarsen commented Jun 1, 2026

Motivation

Closes ss-147

Description

Adds a non-zero constraint to the "default_timestamp_interval" system parameter. This prevents an issue where setting it to 0 causes a panic and the database won't start up until you go in and update the parameter by different means.

Verification

  1. Reproduced the issue locally, updated code and confirmed we received an error instead of crashing when the ALTER ... statement is issued
  2. Added basic sqllogictest tests

@peterdukelarsen peterdukelarsen requested a review from a team as a code owner June 1, 2026 20:03
@peterdukelarsen peterdukelarsen requested a review from ublubu June 1, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant