lfhy
1976ca9160
add -disk to filer command ( #4247 )
* add -disk to filer command
* add diskType to filer.grpc
* use filer.disk when filerWebDavOptions.disk is empty
* add filer.disk to weed server command.
---------
Co-authored-by: 三千院羽 <3000y@MacBook-Pro.lan>
2 years ago
Konstantin Lebedev
5d87ad72d8
mute log filer: no entry is found in filer store ( #3707 )
2 years ago
Konstantin Lebedev
4d08393b7c
filer prefer volume server in same data center ( #3405 )
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
2 years ago
Konstantin Lebedev
22181dd018
refactor FilerRequest metrics ( #3402 )
* refactor FilerRequest metrics
* avoid double count proxy
* defer to
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
4fd5f96598
filer: remove replication, collection, disk_type info from entry metadata
these metadata can change and are not used
3 years ago
chrislu
596c3860ca
use final destination to resolve fs configuration
related to https://github.com/chrislusf/seaweedfs/issues/3075
3 years ago
tianzhang
66747ee9c9
hotfix_fsync fix fsync
3 years ago
chrislu
320637dc7a
use "mv.from" for moving files
3 years ago
banjiaojuhao
e6126cef62
filer_web: support moving entry
3 years ago
chrislu
67b723f74e
Filer Server API support fsync
fix https://github.com/chrislusf/seaweedfs/issues/2528
3 years ago
banjiaojuhao
083bf3a137
filer server: add "datacenter, rack and datanode" for path specific configuration
3 years ago
banjiaojuhao
08336be92e
filer server: allow upload file to specific dataNode
3 years ago
Chris Lu
7937db52e1
Filer locationPrefix configure does not exec replication #2257
fix https://github.com/chrislusf/seaweedfs/issues/2257
3 years ago
Chris Lu
88d52adfdd
remove unused fields
4 years ago
Chris Lu
ab606dec2a
filer: add path-specific option to enforce readonly
4 years ago
Chris Lu
b5880334fc
refactor
4 years ago
Chris Lu
6daa932f5c
refactoring to get master function, instead of passing master values directly
this will enable retrying later
4 years ago
Chris Lu
a331bbb3ae
filer: should return 204 on DELETE to nonexistent file
related to
https://github.com/chrislusf/seaweedfs/issues/1776
https://github.com/chrislusf/seaweedfs/issues/1160
4 years ago
Chris Lu
1d88865869
passing disk type along
4 years ago
Chris Lu
51eadaf2b6
rename parameter name to "disk"
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago
Chris Lu
e9cd798bd3
adding volume type
4 years ago
Chris Lu
3fedfec1e7
check cross device rename error
4 years ago
Chris Lu
141ce67c09
close http request body
4 years ago
Chris Lu
dc304342b2
fs.configure: configurable volume growth
4 years ago
Chris Lu
0ea5c087ce
go fmt
4 years ago
Chris Lu
95c0de285d
refactoring
4 years ago
Chris Lu
500bcab953
refactoring
4 years ago
Chris Lu
6c92fa349d
filer: support default rack
fix https://github.com/chrislusf/seaweedfs/issues/1546
4 years ago
Chris Lu
69f0da5d73
mount: pass along replication and collection parameters
4 years ago
Chris Lu
ca658a97c5
add signatures to messages to avoid double processing
4 years ago
Chris Lu
3b1a95ac26
filer refactoring: same auto chunking logic for POST and PUT, no size limit
4 years ago
Chris Lu
20e2ac1add
filer: store md5 metadata for files uploaded by filer
fix https://github.com/chrislusf/seaweedfs/issues/1412
4 years ago
Chris Lu
97d97f3528
go code can read and write chunk manifest
4 years ago
Chris Lu
31e23e9783
filer: support active<=>active filer replication
5 years ago
Chris Lu
a4e3cffe0a
S3: DeleteObject API also support deleting a folder recursively
5 years ago
Chris Lu
1c65656fb4
s3: add option to fsync buckets
5 years ago
Chris Lu
dc08e4098f
add etag only for PUT or large chunked uploads
5 years ago
Chris Lu
ec2eb8bc48
add If-None-Match and If-Modified-Since
fix https://github.com/chrislusf/seaweedfs/issues/1269
5 years ago
Chris Lu
c0f0fdb3ba
refactoring
5 years ago
Chris Lu
8a899992f2
filer: fix ttl parsing
fix https://github.com/chrislusf/seaweedfs/issues/1225
5 years ago
Chris Lu
e04c1a1361
filer: remove chunk manifest file support
This is not needed for filer
5 years ago
Chris Lu
9b3109a5d8
filer: processing all response headers, no pass through to volume server
* filer calculate MD5 etag
* filer handle response headers, instread of pass it to volume servers
5 years ago
Chris Lu
afb20de14c
breaks dependency loop
5 years ago
Chris Lu
0375ce2c2e
filer: set mime type from volume server
5 years ago
Chris Lu
ea1169dc80
filer cipher: single chunk http POST and PUT and read
5 years ago
Chris Lu
6ab7368ef2
filer: dynamically create bucket under /buckets folder
5 years ago
Chris Lu
382ff218d3
filer: set file size, streaming chunk file uploading
fix https://github.com/chrislusf/seaweedfs/issues/1193
5 years ago
Chris Lu
d4e75a0d18
filer: option to create file only if it is new, O_EXCL
5 years ago