From 53f54ba37aa58f99cc9fa2966fbecdc06419cfb7 Mon Sep 17 00:00:00 2001 From: Nikita Kalyanov <44959448+nikitakalyanov@users.noreply.github.com> Date: Thu, 20 Mar 2025 20:04:17 +0200 Subject: [PATCH] chore: expose detach_v2 (#11325) we need this exposed in the spec to use it in cplane. extracted from https://github.com/neondatabase/cloud/pull/26167 ## Problem ## Summary of changes --- pageserver/src/http/openapi_spec.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pageserver/src/http/openapi_spec.yml b/pageserver/src/http/openapi_spec.yml index 41641c0f47..8b839b454a 100644 --- a/pageserver/src/http/openapi_spec.yml +++ b/pageserver/src/http/openapi_spec.yml @@ -669,6 +669,13 @@ paths: Detach a timeline from its ancestor and reparent all ancestors timelines with lower `ancestor_lsn`. Current implementation might not be retryable across failure cases, but will be enhanced in future. Detaching should be expected to be expensive operation. Timeouts should be retried. + parameters: + - name: detach_behavior + in: query + required: false + schema: + description: Currently valid values are `v1`, `v2` + type: string responses: "200": description: |