Skip to content

docs: add cluster autoscaling guide - #38799

Open
maheshwarip wants to merge 2 commits into
mainfrom
claude/admiring-bell-auja4x
Open

docs: add cluster autoscaling guide#38799
maheshwarip wants to merge 2 commits into
mainfrom
claude/admiring-bell-auja4x

Conversation

@maheshwarip

Copy link
Copy Markdown
Contributor

Motivation

Closes EDU-82: AUTO SCALING STRATEGY (ON HYDRATION) is documented piecemeal across CREATE CLUSTER/ALTER CLUSTER, but there was no task-oriented guide in the Clusters section, and two operational questions (steady-state replica never hydrates, capacity unavailable on Self-Managed) weren't answered anywhere user-facing.

Description

New guide: doc/user/content/clusters/autoscaling.md (linked from clusters/_index.md).

  • Reuses the existing headless/cluster-hydration-burst fragment for the mechanism, so nothing is duplicated with CREATE CLUSTER/ALTER CLUSTER.
  • Adds the ALTER CLUSTER form for adding/removing the strategy on an existing cluster.
  • Monitor an autoscaling event: mz_cluster_auto_scaling_strategies, SHOW CLUSTERS activity column, mz_hydration_statuses, audit log.
  • If the steady-size replica never hydrates: the burst has no timeout and stays up indefinitely, billed the whole time (grounded in doc/developer/design/20260522_cluster_autoscaling.md and the HydrationBurstStrategy source comments); links to resizing the cluster.
  • If capacity is unavailable: best-effort, never blocks the steady-size replicas; points to sizing Self-Managed node pools.
  • Limitations: no effect on single-replica sources (Postgres/MySQL/SQL Server), doesn't help freshness/staleness.

Pages for review:

Verification

  • hugo --quiet (extended v0.123.7) builds cleanly from doc/user, both the HTML output and the --config config.toml,config.skill.toml Markdown/skill output.
  • Checked the rendered HTML: no unresolved shortcodes or ZgotmplZ escapes, and every internal link/anchor referenced from the new page resolves to an existing page or heading.
  • Cross-checked the SHOW CLUSTERS and catalog-query examples against test/testdrive/cluster-controller.td and test/sqllogictest/show_clusters.slt.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XqmZ4Mb6edy9y3uLhtAKQK


Generated by Claude Code

Adds a task-oriented guide under Clusters for AUTO SCALING STRATEGY
(ON HYDRATION): configuring it, monitoring an in-flight burst, what
happens if the steady-size replica never hydrates (no timeout, burst
stays up indefinitely), and what happens if capacity is unavailable
on Self-Managed (best-effort, never blocks the steady replicas).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XqmZ4Mb6edy9y3uLhtAKQK
@maheshwarip
maheshwarip requested a review from a team as a code owner September 11, 2026 20:28
@linear-code

linear-code Bot commented Sep 11, 2026

Copy link
Copy Markdown

EDU-82

The headless fragment linked to a bare #available-sizes anchor, which
only resolves on pages that happen to define that heading themselves
(create-cluster.md, alter-cluster.md). Including the fragment on the
new autoscaling guide broke both links, since that page has no such
heading. Point at /sql/create-cluster/#available-sizes instead,
matching every other cross-reference to that heading in the docs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XqmZ4Mb6edy9y3uLhtAKQK
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.

2 participants