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
+3
View File
@@ -141,6 +141,9 @@ message DropRequest {
// If true, indicates that only a portion of the region is being dropped, and files may still be referenced by other regions.
// This is used to prevent deletion of files that are still in use by other regions.
bool partial_drop = 4;
// 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.
bool soft_drop = 5;
}
message OpenRequest {