aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/submit.go
AgeCommit message (Collapse)AuthorFilesLines
2024-08-29math/rand => math/rand/v2chrislu1-2/+2
2024-08-27randomly pick one replica to writechrislu1-10/+24
2024-07-16Added tls for http clients (#5766)vadimartynov1-3/+21
* 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
2024-06-14Added context for the MasterClient's methods to avoid endless loops (#5628)vadimartynov1-1/+2
* Added context for the MasterClient's methods to avoid endless loops * Returned WithClient function. Added WithClientCustomGetMaster function * Hid unused ctx arguments * Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions * Changed the context termination check in the tryConnectToMaster function * Added a child context to the tryConnectToMaster function * Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-3/+3
2021-09-12change server address from string to a typeChris Lu1-1/+2
2021-09-06refactoringChris Lu1-3/+30
2021-02-17refactoring to get master function, instead of passing master values directlyChris Lu1-11/+13
this will enable retrying later
2021-02-09Merge branch 'master' into support_ssd_volumeChris Lu1-1/+1
2021-01-03upload result changes to the right output variableChris Lu1-1/+1
2020-12-30weed upload: add TTLChris Lu1-0/+1
2020-12-16go fmtChris Lu1-4/+4
2020-12-13rename from volumeType to diskTypeChris Lu1-6/+6
2020-12-13adding volume typeChris Lu1-1/+7
2020-09-25weed upload: usePublicUrl was not being used on big filesChris Lu1-0/+3
fix https://github.com/chrislusf/seaweedfs/issues/1492
2020-05-10go fmtChris Lu1-1/+1
2020-04-30add fsync option for benchmarkzhangsong1-0/+4
2020-03-28refactoringChris Lu1-2/+2
2020-03-18use public url also for deletionsChris Lu1-5/+5
2020-03-18weed upload: add usePublicUrl optionChris Lu1-2/+4
fix https://github.com/chrislusf/seaweedfs/issues/1236
2020-03-08filer: remember content is gzipped or notChris Lu1-5/+4
2020-03-06filer: option to encrypt data on volume serverChris Lu1-4/+3
2019-12-15upload skipping mimetype if not neededChris Lu1-1/+1
2019-02-18adding grpc mutual tlsChris Lu1-9/+10
2019-02-15go fmtChris Lu1-1/+1
2019-02-15benchmark can work in secure modeChris Lu1-2/+2
2019-02-09cleanup security.SecretChris Lu1-7/+4
2019-01-17go fmt and fix some typobingoohuang1-1/+1
2018-12-22avoid .gz auto decompressionChris Lu1-4/+2
2018-02-26set file name to base file nameChris Lu1-1/+1
fixing https://github.com/chrislusf/seaweedfs/issues/632
2017-01-09suport uploading files to specific dataCentersparklxb1-18/+45
2017-01-08support additional header name-value pairssparklxb1-3/+3
2017-01-04fix bug: upload big .gz file more than maxMBlixianbin1-7/+4
2016-06-26refactor Volume Assign function霍晓栋1-2/+14
2016-06-02directory structure change to work with glideChris Lu1-0/+194
glide has its own requirements. My previous workaround caused me some code checkin errors. Need to fix this.