askeipx
2e78a522ab
remove old raft servers if they don't answer to pings for too long ( #3398 )
* 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
2 years ago
chrislu
65ff7198fe
adjust type
2 years ago
chrislu
3bf8e772f8
webdav: retryable data chunk upload
2 years ago
chrislu
689b4ecdcc
remove unused collection and replication from upload result
2 years ago
chrislu
789d9dbfe1
webdav: fix nil
fix https://github.com/seaweedfs/seaweedfs/issues/3440
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
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
xdadrm
3a42269da8
Fixes WebDAV 0-bytes files
Fixes the issue where files created via WebDAV show as 0-bytes size when read via fuse.
3 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
b2a148cb4c
use file size as max range
3 years ago
chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
3 years ago
Chris Lu
2789d10342
go fmt
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
6923af7280
refactoring
3 years ago
Chris Lu
7ab389e7ec
optimization: improve random range query for large files
3 years ago
Chris Lu
8f8738867f
add retry to assign volume
fix https://github.com/chrislusf/seaweedfs/issues/2056
4 years ago
Chris Lu
c2ad6f1047
webdav add replication setting
fix https://github.com/chrislusf/seaweedfs/issues/1817
4 years ago
Chris Lu
d67ccb66c0
webdav: can start together with "weed server" or "weed filer"
4 years ago
Chris Lu
76430790b9
webdav: cache to version specific folder
4 years ago
Chris Lu
990fa69bfe
add back AdjustedUrl() related code
4 years ago
Chris Lu
00707ec00f
mount: outsideContainerClusterMode proxy through filer
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.
4 years ago
Chris Lu
6ca10725b8
Revert "mount: when outside cluster network, use filer as proxy to access volume servers"
This reverts commit 096e088d7b
.
4 years ago
Chris Lu
096e088d7b
mount: when outside cluster network, use filer as proxy to access volume servers
4 years ago
Chris Lu
1bf22c0b5b
go fmt
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
45dba088cd
fix tests
4 years ago
Chris Lu
04062c56c7
webdav: improve webdav upload speed
4 years ago
Chris Lu
f4abd01adf
filer: cache small file to filer store
4 years ago
Chris Lu
e219c57849
passing full path when assign volume locations
4 years ago
Chris Lu
f375b93aef
renaming
4 years ago
Chris Lu
37f165d743
webdav: return io.EOF when at end of a file
fix https://github.com/chrislusf/seaweedfs/issues/1344
4 years ago
Chris Lu
723ae11db4
refactoring in order to adjust volume server url later
4 years ago
Chris Lu
31fc7bb2e1
refactor
adjust for faster test
4 years ago
Chris Lu
8a0710cb73
handle more than 2GB files
related to https://github.com/chrislusf/seaweedfs/issues/1468
4 years ago
Chris Lu
854007bc98
minor
4 years ago
Chris Lu
387ab6796f
filer: cross cluster synchronization
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago
Chris Lu
ca658a97c5
add signatures to messages to avoid double processing
4 years ago
Chris Lu
a78772d5ea
avoid shutdown in the middle of running
4 years ago
Chris Lu
be4d42b8e2
rename
4 years ago
Chris Lu
aec7f32b02
fix reader_at
4 years ago
Chris Lu
c647deace1
file size support set file length
use Attr.FileSize and TotalChunkSize to determine file size
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
c38066be89
also add it for webdav
5 years ago
Chris Lu
871efa4fc1
refactoring
some previous chunk etag was using md5, which should be wrong.
5 years ago
Chris Lu
9e72e9e4b8
able to subscribe any topic from any point of time
5 years ago
Chris Lu
ed3cf811f5
refactoring
5 years ago
wuyuxiang
6850d28d6b
refacotr: move signal handling and pprof to grace package
5 years ago