Skip to content

mcp: bound the catalog snapshot so a stall cannot outlive the request timeout (DEX-92) - #37986

Open
bobbyiliev wants to merge 1 commit into
MaterializeInc:mainfrom
bobbyiliev:mcp-timeout-covers-snapshot
Open

mcp: bound the catalog snapshot so a stall cannot outlive the request timeout (DEX-92)#37986
bobbyiliev wants to merge 1 commit into
MaterializeInc:mainfrom
bobbyiliev:mcp-timeout-covers-snapshot

Conversation

@bobbyiliev

Copy link
Copy Markdown
Contributor

MCP_REQUEST_TIMEOUT only wrapped the handler body, so a stalled catalog_snapshot could hang a request indefinitely. Since the configured value lives in that same snapshot, this bounds the fetch with the dyncfg's compiled-in default and returns 503, matching the existing pre-flight failure path.

@bobbyiliev
bobbyiliev marked this pull request as ready for review July 31, 2026 15:47
@bobbyiliev
bobbyiliev requested a review from a team as a code owner July 31, 2026 15:47
@bobbyiliev
bobbyiliev requested a review from jubrad July 31, 2026 15:47
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