vadimartynov
86d92a42b4
Added tls for http clients ( #5766 )
* Added global http client
* Added Do func for global http client
* Changed the code to use the global http client
* Fix http client in volume uploader
* Fixed pkg name
* Fixed http util funcs
* Fixed http client for bench_filer_upload
* Fixed http client for stress_filer_upload
* Fixed http client for filer_server_handlers_proxy
* Fixed http client for command_fs_merge_volumes
* Fixed http client for command_fs_merge_volumes and command_volume_fsck
* Fixed http client for s3api_server
* Added init global client for main funcs
* Rename global_client to client
* Changed:
- fixed NewHttpClient;
- added CheckIsHttpsClientEnabled func
- updated security.toml in scaffold
* Reduce the visibility of some functions in the util/http/client pkg
* Added the loadSecurityConfig function
* Use util.LoadSecurityConfiguration() in NewHttpClient func
5 months ago
Sébastien
c694cb4e7d
filer: reduce delete entry ErrNotFound logs ( #5301 )
10 months ago
Konstantin Lebedev
a7fc723ae0
chore: add status code for request_total metrics ( #5188 )
12 months ago
Konstantin Lebedev
1cac5d983d
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>
1 year ago
chrislu
27af11f1e8
Revert "Revert "Merge branch 'master' into sub""
This reverts commit 0bb97709d4
.
1 year ago
chrislu
0bb97709d4
Revert "Merge branch 'master' into sub"
This reverts commit 4d414f54a2
, reversing
changes made to 4827425146
.
1 year ago
chrislu
4650c4c65f
Revert "turn on streaming assign file id"
This reverts commit 733db2bc88
.
1 year ago
chrislu
733db2bc88
turn on streaming assign file id
1 year ago
zemul
e9fda774f4
[Filer] post add param:saveInside ( #4434 )
* fix:mount deadlock
* feat: filer http upload to metadata
* feat: /etc save inside
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
2 years ago
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