aboutsummaryrefslogtreecommitdiff
path: root/unmaintained
AgeCommit message (Collapse)AuthorFilesLines
2024-07-16Added tls for http clients (#5766)vadimartynov15-21/+58
* 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-07-16Added loadSecurityConfigOnce (#5792)vadimartynov4-4/+4
2024-07-12ensure metadata follow a specific folderchrislu1-1/+7
fix https://github.com/seaweedfs/seaweedfs/issues/5774
2024-07-01refactor all methods strings to const (#5726)Konstantin Lebedev2-2/+2
2024-06-14Added context for the MasterClient's methods to avoid endless loops (#5628)vadimartynov2-2/+4
* 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
2024-05-24avoid ticker leakchrislu2-0/+2
2023-10-20see_dat add print name (#4930)binbinshi1-2/+2
2023-06-07fix: fid mismatch (#4554)wusong1-2/+3
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2023-03-21refactoringchrislu1-1/+13
2023-01-20grpc connection to filer add sw-client-id headerchrislu1-1/+2
2022-11-20Include meta in ReadAllNeedles (#3991)James Hartig1-2/+3
This is useful for doing backups on the data so we can accurately store the last modified time, the compression state, and verify the crc. Previously we were doing VolumeNeedleStatus and then an HTTP request which needlessly read from the dat file twice.
2022-11-15refactor filer_pb.Entry and filer.Entry to use GetChunks()chrislu1-1/+1
for later locking on reading chunks
2022-08-31close responseschrislu1-5/+7
2022-08-17fix building for unmaintainedchrislu1-0/+1
2022-08-17move proto packagechrislu2-2/+2
2022-07-29fix deprecated functionschrislu1-2/+2
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu12-57/+57
2022-07-23metadata subscription uses client epochchrislu1-1/+1
2022-07-20rename parameter and reuse functionsguol-fnst2-6/+8
rename milestone to watermark
2022-06-02fix filer.sync missing source srv uploaded files to target when target downcreeew1-1/+1
2022-05-30subscribe metadata between a rangechrislu1-1/+1
2022-05-16minor (typos...), done while reading aroundNat Makarevitch1-1/+1
2021-12-30add client id for all metadata listening clientschrislu1-1/+1
2021-12-26use streaming mode for long poll grpc callschrislu3-9/+8
streaming mode would create separate grpc connections for each call. this is to ensure the long poll connections are properly closed.
2021-10-14refactor: move from io/ioutil to io and os packageEng Zer Jun2-6/+4
The io/ioutil package has been deprecated as of Go 1.16, see https://golang.org/doc/go1.16#ioutil. This commit replaces the existing io/ioutil functions with their new definitions in io and os packages. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-09-27stream read multiple volumes in a volume serverChris Lu1-0/+64
2021-09-12change server address from string to a typeChris Lu4-15/+16
2021-09-11add optional delayChris Lu1-4/+9
2021-09-06refactoringChris Lu1-1/+10
2021-08-31add additionalPathPrefixesChris Lu1-2/+1
2021-08-04refactor client subscribe metadataChris Lu1-33/+2
2021-07-29Add the additional meta logbyunghwa.yun1-1/+1
2021-06-27logging changes to debugChris Lu1-2/+6
2021-05-22some code to stress test the meta data eventsChris Lu1-0/+108
2021-05-22minorChris Lu1-1/+1
2021-04-27minFreeSpace refactoredbingoohuang1-1/+1
2021-02-20disk file avoid file.Stat()Chris Lu1-1/+1
2021-02-17refactoring to get master function, instead of passing master values directlyChris Lu1-1/+1
this will enable retrying later
2021-02-12adjust http max idle connections per hostChris Lu1-1/+1
related to https://github.com/chrislusf/seaweedfs/issues/1802
2021-02-07fix typo offset.ToAcutalOffset to offset.ToActualOffsetbingoohuang1-1/+1
2020-11-17add example scriptsChris Lu1-0/+3
2020-10-25update to correct block sizeChris Lu1-4/+9
2020-10-25write a lot of filesChris Lu1-0/+49
2020-10-13Only wait on retryable requestsChris Lu1-1/+1
2020-09-12do not idx file formatChris Lu1-3/+0
revert c9ab8d05fa9b425352ce978b5c5b5b0d71d787ad
2020-09-11adjust sizeChris Lu1-0/+3
2020-09-09properly cancel context for streaming grpcChris Lu1-1/+3
2020-09-01rename filer2 to filerChris Lu1-2/+2
2020-08-18refactoringChris Lu1-1/+1
2020-08-18maintain the unmaintainedChris Lu4-89/+6