feat: add soft-drop flag to DropRequest (#317)

* feat: add soft-drop flag to DropRequest

Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* chore: add space

Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>

* chore: enforce version for protoc

Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>

---------

Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Lei, HUANG
2026-04-29 16:29:43 +08:00
committed by GitHub
parent 0de5437582
commit a107830d0c
9 changed files with 575 additions and 387 deletions
+4
View File
@@ -196,6 +196,10 @@ pub struct DropRequest {
/// This is used to prevent deletion of files that are still in use by other regions.
#[prost(bool, tag = "4")]
pub partial_drop: bool,
/// If true, the region will be marked as dropped but not actually deleted.
/// This allows for a soft delete, where the region can be recovered if needed.
#[prost(bool, tag = "5")]
pub soft_drop: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OpenRequest {
Binary file not shown.