Chris Lu
3306abae10
shell: add minCacheAge flag to remote.uncache command ( #8225 )
* add minCacheAge flag to remote.uncache command #8221
* address code review feedback: add nil check and improve test isolation
* address code review feedback: use consistent timestamp in FileFilter
3 days ago
Chris Lu
69553e5ba6
convert error fromating to %w everywhere ( #6995 )
7 months ago
chrislu
ec30a504ba
refactor
1 year ago
chrislu
701abbb9df
add IsResourceHeavy() to command interface
1 year ago
chrislu
e825dd7496
fix opposite logic
fix https://github.com/seaweedfs/seaweedfs/issues/5871
2 years ago
chrislu
e069009f09
[remote.cache, remote.uncache] fix min/max age
fix https://github.com/seaweedfs/seaweedfs/issues/5871
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
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
f3a334965d
Update command_remote_uncache.go
minor
4 years ago
Chris Lu
57a95887d2
remote.cache remote.uncache supports all mounted directories
4 years ago
Chris Lu
d983aa4c7d
correct filtering
4 years ago
Chris Lu
49952ba905
fix cache/uncache filters
4 years ago
Chris Lu
97b7948cd9
adjust error message
5 years ago
Chris Lu
05a648bb96
refactor: separating out remote.proto
5 years ago
Chris Lu
2158d4fe4d
adjust help message
5 years ago
Chris Lu
c34747c79d
rename, fix wrong logic.
5 years ago
Chris Lu
cb53802752
adjust help message
5 years ago
Chris Lu
708debca14
remote.cache and uncache: more flexible options to select files to cache or uncache
5 years ago
Chris Lu
02f728cb54
fix bug with remote.uncache
5 years ago
Chris Lu
402315f117
go fmt
5 years ago
Chris Lu
713c035a6e
shell: remote.cache remote.uncache
5 years ago