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:
@@ -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.
Reference in New Issue
Block a user