Skip to content

Commit 5d88e8b

Browse files
committed
better wording
Signed-off-by: Alex Chi Z <[email protected]>
1 parent 08babb4 commit 5d88e8b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pageserver/src/tenant/timeline/detach_ancestor.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,8 @@ pub(crate) struct Options {
140140
}
141141

142142
/// Controls the detach ancestor behavior.
143-
/// - 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.
144-
/// - 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.
145-
/// - Detach ancestor will always reparent the children of the detached branch.
143+
/// - 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.
144+
/// - When set to `MultiLevelAndNoReparent`, we will detach a branch from multiple levels of ancestors, and no reparenting will happen at all.
146145
#[derive(Debug, Clone, Copy)]
147146
pub enum DetachBehavior {
148147
NoAncestorAndReparent,

0 commit comments

Comments
 (0)