aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src
diff options
context:
space:
mode:
authorGuang Jiong Lou <7991675+27149chen@users.noreply.github.com>2025-01-01 10:41:43 +0800
committerGitHub <noreply@github.com>2024-12-31 18:41:43 -0800
commit3b1ac77e1f34ec561191073db5ee859cef714c0f (patch)
treeb9b5b8b654e9211470f78716f0e7eb73e8289356 /other/java/client/src
parent0e8e6122d559ea4f055cbd7a1b17d00bfc79bed5 (diff)
downloadseaweedfs-3b1ac77e1f34ec561191073db5ee859cef714c0f.tar.xz
seaweedfs-3b1ac77e1f34ec561191073db5ee859cef714c0f.zip
worm grace period and retention time support (#6404)
Signed-off-by: lou <alex1988@outlook.com>
Diffstat (limited to 'other/java/client/src')
-rw-r--r--other/java/client/src/main/proto/filer.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index c06f7f83c..d3490029f 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -125,6 +125,7 @@ message Entry {
RemoteEntry remote_entry = 10;
int64 quota = 11; // for bucket only. Positive/Negative means enabled/disabled.
+ int64 worm_enforced_at_ts_ns = 12;
}
message FullEntry {
@@ -443,6 +444,8 @@ message FilerConf {
uint32 max_file_name_length = 12;
bool disable_chunk_deletion = 13;
bool worm = 14;
+ uint64 worm_grace_period_seconds = 15;
+ uint64 worm_retention_time_seconds = 16;
}
repeated PathConf locations = 2;
}