sql: accept WITH (WAIT ...) on ALTER CLUSTER unconditionally - #38104
sql: accept WITH (WAIT ...) on ALTER CLUSTER unconditionally#38104aljoscha wants to merge 2 commits into
Conversation
b3e6c5d to
44e8e16
Compare
44e8e16 to
e06b9d6
Compare
e06b9d6 to
8f88cec
Compare
8f88cec to
f1f08b2
Compare
f1f08b2 to
c6c719e
Compare
c6c719e to
d9f10e3
Compare
d9f10e3 to
cc7aa1f
Compare
|
Fine to remove the "private preview" status from my side! cc @maheshwarip |
cc7aa1f to
93798f7
Compare
93798f7 to
7328043
Compare
7328043 to
cac31da
Compare
faa0152 to
a8209bf
Compare
7722520 to
6c1bd78
Compare
QA LLM Review1. MEDIUM -- Mixed-version pin for
|
6c1bd78 to
26589db
Compare
26589db to
a63a200
Compare
a3ff998 to
c2743f3
Compare
c2743f3 to
6b0fdfd
Compare
6b0fdfd to
02e2ef7
Compare
|
Fixed. Current upstream main is |
02e2ef7 to
4dd05f1
Compare
4dd05f1 to
3506904
Compare
Graceful cluster reconfiguration has been behind the `enable_zero_downtime_cluster_reconfiguration` feature flag, default off, so the `WITH (WAIT ...)` surface is rejected at plan time unless a deployment turns it on. The controller record is now the only managed-cluster reshape path, which leaves the flag controlling only whether users can express its deadline and timeout behavior. Remove the flag and planner gate. The two rejections that share the code path stay: a `WAIT` without a replica-shape change, and a `WAIT` on an unmanaged cluster. Every test that used the surface enabled the flag itself, so those statements go. In a mixed-version run some phases execute against a released binary that still enforces the gate, so `get_minimal_system_parameters` pins the flag on below v26.41 instead. The docs drop the private-preview badges because the surface is generally available once nothing gates it.
3506904 to
0a1280c
Compare
Motivation
WITH (WAIT ...)onALTER CLUSTERis gated behindenable_zero_downtime_cluster_reconfiguration, default off. Stacked on #38103,every graceful reconfiguration already runs through one durable controller path,
so the flag only controls whether users can express a deadline and a timeout
action for it.
Description
Removes the feature flag and its planner gate, so
WITH (WAIT ...)is acceptedon every deployment. The two rejections that share that code path stay: a
WAITwithout a replica-shape change, and a
WAITon an unmanaged cluster.The mixed-version default is bounded at v26.41 so upgrade scenarios running
against an older binary still set the flag, and the private-preview badges come
off the
ALTER CLUSTERreference page.enable_cluster_schedule_refresh, the near-identical sibling gate, isdeliberately untouched. It gates a separate SQL surface under its own rollout.
Verification
Existing graceful-reconfiguration coverage in testdrive, sqllogictest, and
platform checks now exercises the surface without setting a flag.
User-visible behavior
Graceful cluster reconfiguration with
WITH (WAIT UNTIL READY ...)andWITH (WAIT FOR ...)becomes generally available, no longer private preview andno longer requiring a feature flag.