From cd32bb43a09ad44b634c4594b7089accc3b23ee8 Mon Sep 17 00:00:00 2001 From: Alex Chi Z Date: Wed, 12 Mar 2025 12:33:14 -0400 Subject: [PATCH] better wording Signed-off-by: Alex Chi Z --- pageserver/src/tenant/timeline/detach_ancestor.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pageserver/src/tenant/timeline/detach_ancestor.rs b/pageserver/src/tenant/timeline/detach_ancestor.rs index bfaa5c481d..2308f2f8a3 100644 --- a/pageserver/src/tenant/timeline/detach_ancestor.rs +++ b/pageserver/src/tenant/timeline/detach_ancestor.rs @@ -140,9 +140,8 @@ pub(crate) struct Options { } /// Controls the detach ancestor behavior. -/// - When set to `NoAncestorAndReparent`, we will only detach a branch if its ancestor is a root branch. It will automatically reparent the children of the ancestor. -/// - When set to `MultiLevelAndNoReparent`, we will detach a branch from multiple levels of ancestors, and no reparenting will happen for the children of the ancestor. -/// - Detach ancestor will always reparent the children of the detached branch. +/// - When set to `NoAncestorAndReparent`, we will only detach a branch if its ancestor is a root branch. It will automatically reparent any children of the ancestor before and at the branch point. +/// - When set to `MultiLevelAndNoReparent`, we will detach a branch from multiple levels of ancestors, and no reparenting will happen at all. #[derive(Debug, Clone, Copy)] pub enum DetachBehavior { NoAncestorAndReparent,