aboutsummaryrefslogtreecommitdiff
path: root/other/java
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2023-10-13 02:29:55 +0500
committerGitHub <noreply@github.com>2023-10-12 14:29:55 -0700
commit1cac5d983de408ced3c05a98a6745d1077e7c1e0 (patch)
tree68afa8db614baa2ef7296276b32c15fc52d74149 /other/java
parentedee91ef0eb7f7612ae961ac1d1ace2afbd92b87 (diff)
downloadseaweedfs-1cac5d983de408ced3c05a98a6745d1077e7c1e0.tar.xz
seaweedfs-1cac5d983de408ced3c05a98a6745d1077e7c1e0.zip
fix: disallow file name too long when writing a file (#4881)
* fix: disallow file name too long when writing a file * bool LongerName to MaxFilenameLength --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
Diffstat (limited to 'other/java')
-rw-r--r--other/java/client/src/main/proto/filer.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index dd052b198..0c3b8eddc 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -424,6 +424,7 @@ message FilerConf {
string data_center = 9;
string rack = 10;
string data_node = 11;
+ uint32 max_file_name_length = 12;
}
repeated PathConf locations = 2;
}