Chris Lu
37af41fbfe
Shell: Added a helper function `isHelpRequest()` ( #7380 )
* Added a helper function `isHelpRequest()`
* also handles combined short flags like -lh or -hl
* Created handleHelpRequest() helper function
encapsulates both:
Checking for help flags
Printing the help message
* Limit to reasonable length (2-4 chars total) to avoid matching long options like -verbose
1 week ago
Aleksey Kosov
165af32d6b
added context to filer_client method calls ( #6808 )
Co-authored-by: akosov <a.kosov@kryptonite.ru>
5 months ago
chrislu
ec30a504ba
refactor
1 year ago
chrislu
701abbb9df
add IsResourceHeavy() to command interface
1 year ago
chrislu
2452f3b2f7
sort chunks by offset
3 years ago
chrislu
70a4c98b00
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
3 years ago
chrislu
2b580a7566
also migrate jsonpb
3 years ago
chrislu
eaeb141b09
move proto package
3 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
justin
3551ca2fcf
enhancement: replace sort.Slice with slices.SortFunc to reduce reflection
4 years ago
chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
4 years ago
Chris Lu
92f906b6fc
remove zstd
fix https://github.com/chrislusf/seaweedfs/issues/1629
5 years ago
Chris Lu
b8f32bcab9
filer: compress stored metadata
5 years ago
Chris Lu
f76a2b2c8a
printout meta data size
5 years ago
Chris Lu
d60bcbf08a
sorting chunks
5 years ago
Chris Lu
e666aeece2
simplify parsing filer host and port
6 years ago
Chris Lu
d151185b7e
shell: desupport filer url in the arguments
6 years ago
Chris Lu
c0f0fdb3ba
refactoring
6 years ago
Chris Lu
afb20de14c
breaks dependency loop
6 years ago
Chris Lu
8645283a7b
fuse mount: avoid lookup nil entry
fix https://github.com/chrislusf/seaweedfs/issues/1221
6 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
6 years ago
Chris Lu
7d10fdf737
fix directory lookup nil
6 years ago
Chris Lu
72a64a5cf8
use the same context object in order to retry
6 years ago
Chris Lu
d0aa0c5086
shell: add fs.meta.cat to see file meta data content
related to https://github.com/chrislusf/seaweedfs/issues/1163
6 years ago