aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/source/filer_source.go
AgeCommit message (Collapse)AuthorFilesLines
2025-05-22WIPorigin/changing-to-zapchrislu1-4/+4
2024-07-16Added tls for http clients (#5766)vadimartynov1-2/+3
* 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
2023-01-20grpc connection to filer add sw-client-id headerchrislu1-1/+3
2022-08-23remove old raft servers if they don't answer to pings for too long (#3398)askeipx1-1/+1
* remove old raft servers if they don't answer to pings for too long add ping durations as options rename ping fields fix some todos get masters through masterclient raft remove server from leader use raft servers to ping them CheckMastersAlive for hashicorp raft only * prepare blocking ping * pass waitForReady as param * pass waitForReady through all functions * waitForReady works * refactor * remove unneeded params * rollback unneeded changes * fix
2022-08-04filer prefer volume server in same data center (#3405)Konstantin Lebedev1-1/+13
* initial prefer same data center https://github.com/seaweedfs/seaweedfs/issues/3404 * GetDataCenter * prefer same data center for ReplicationSource * GetDataCenterId * remove glog
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-5/+5
2021-12-26use streaming mode for long poll grpc callschrislu1-3/+3
streaming mode would create separate grpc connections for each call. this is to ensure the long poll connections are properly closed.
2021-08-14go fmtChris Lu1-1/+1
2021-08-12use grpc and jwtChris Lu1-2/+2
2021-05-26remove verbose logChris Lu1-1/+0
2021-02-28filer source: support filerProxy modeChris Lu1-2/+6
2021-01-28add back AdjustedUrl() related codeChris Lu1-0/+4
2021-01-24mount: outsideContainerClusterMode proxy through filerChris Lu1-4/+0
Running mount outside of the cluster would not need to expose all the volume servers to outside of the cluster. The chunk read and write will go through the filer.
2021-01-24Revert "mount: when outside cluster network, use filer as proxy to access ↵Chris Lu1-0/+4
volume servers" This reverts commit 096e088d7bb2a5dce7573b24c2d3006d1cb6f9ec.
2021-01-24mount: when outside cluster network, use filer as proxy to access volume serversChris Lu1-4/+0
2021-01-24filer.sync: replicate outside of either cluster, only need to see filersChris Lu1-3/+16
2020-10-11refactoring in order to adjust volume server url laterChris Lu1-2/+2
2020-10-07read from alternative replicaChris Lu1-6/+15
related to https://github.com/chrislusf/seaweedfs/issues/1512
2020-09-09filer: cross cluster synchronizationChris Lu1-2/+2
2020-09-09return http response directlyChris Lu1-3/+3
2020-04-29refactoringChris Lu1-2/+8
2020-03-04refactoringChris Lu1-1/+2
2020-02-25avoid reusing context objectChris Lu1-8/+8
fix https://github.com/chrislusf/seaweedfs/issues/1182
2020-01-29support env variables to overwrite toml fileChris Lu1-7/+8
2020-01-26use the same context object in order to retryChris Lu1-4/+4
2019-04-05use cached grpc clientChris Lu1-8/+4
2019-03-15add context.ContextChris Lu1-7/+7
2019-02-18adding grpc mutual tlsChris Lu1-5/+10
2018-10-03add s3 replication sinkChris Lu1-6/+16
2018-09-21go fmtChris Lu1-6/+7
2018-09-21able to sync the changesChris Lu1-5/+6
2018-09-17fix compilationChris Lu1-4/+4
2018-09-17adjust replicated entry nameChris Lu1-6/+3
2018-09-17add WIP filer.replicateChris Lu1-0/+97