chrislu
c030cb3ce9
bootstrap filer from one peer
6 months ago
vadimartynov
8aae82dd71
Added context for the MasterClient's methods to avoid endless loops ( #5628 )
* 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
6 months ago
chrislu
1877ce5126
rename
11 months ago
chrislu
fa59a5d67e
read from disk if not in memory
11 months ago
jerebear12
06343f8976
Set allowed origins in config ( #5109 )
* Add a way to use a JWT in an HTTP only cookie
If a JWT is not included in the Authorization header or a query string, attempt to get a JWT from an HTTP only cookie.
* Added a way to specify allowed origins header from config
* Removed unecessary log
* Check list of domains from config or command flag
* Handle default wildcard and change name of config value to cors
1 year 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
Nico D'Cotta
796b7508f3
Implement SRV lookups for filer ( #4767 )
1 year ago
chrislu
6f588b5b18
fix refactoring mistake
fix https://github.com/seaweedfs/seaweedfs/issues/4639
1 year ago
chrislu
61c42f9991
adjust lock APIs
2 years ago
chrislu
06471dac9d
init lock ring
2 years ago
chrislu
868f7875d7
refactor
2 years ago
chrislu
3fd659df2a
add distributed lock manager
2 years ago
chrislu
5db9fcccd4
refactoring
2 years ago
Neo
b9b613a78e
filter system log dir does not make subscribe event ( #4172 )
2 years ago
Ryan Russell
d54eb9966f
refactor: `Directory` readability ( #3665 )
2 years ago
chrislu
10efdc7aab
align memory
2 years ago
Konstantin Lebedev
e90ab4ac60
avoid race conditions for OnPeerUpdate ( #3525 )
https://github.com/seaweedfs/seaweedfs/issues/3524
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
74f60f246f
dynamically connect to a filer
2 years ago
chrislu
68065128b8
add dc and rack
3 years ago
chrislu
64f3d6fb6e
metadata subscription uses client epoch
2 years ago
chrislu
fa61074513
add clientId logging
2 years ago
chrislu
11d79615c8
dynamically connect to a filer
2 years ago
chrislu
9f20d3ebd1
add dc and rack
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
creeew
02ae102731
fix filer.sync missing source srv uploaded files to target when target down
3 years ago
chrislu
6adc42147f
fresh filer store bootstrap from the oldest peer
3 years ago
chrislu
c59068d0f3
refactor
3 years ago
chrislu
682382648e
collect cluster node start time
3 years ago
chrislu
94635e9b5c
filer: add filer group
3 years ago
chrislu
21e0898631
refactor: change masters from a slice to a map
3 years ago
chrislu
4042fdf3bb
rename to skipCheckParentDir
related to https://github.com/chrislusf/seaweedfs/pull/2761
It's better to default to false.
3 years ago
zzq09494
40b0033fa7
go fmt
3 years ago
zzq09494
81cce4b4c3
filer: support uploading file without needEnsureParentDir
3 years ago
zzq09494
a6a8892255
Revert "filer: support uploading file without needEnsureParentDir"
This reverts commit a93c4947ba
.
3 years ago
zzq09494
a93c4947ba
filer: support uploading file without needEnsureParentDir
3 years ago
chenkai
47c30e3add
filer list entries use context to break job
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
4729a57cc0
use constants
3 years ago
Chris Lu
e0fc2898e9
auto updated filer peer list
3 years ago
Chris Lu
5ea86ef1da
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa
.
3 years ago
Chris Lu
af71ae11aa
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
3 years ago
Chris Lu
2baed2e1e9
avoid possible metadata subscription data loss
Previous implementation append filer logs into one file. So one file is not always sorted, which can lead to miss reading some entries, especially when different filers have different write throughput.
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
byunghwa.yun
f3dc909b21
Change default permissions
3 years ago
Chris Lu
c090d6bb25
add ReadRemote(), add read remote setup when filer starts
3 years ago
Chris Lu
182288f860
filer: fix mysql, postgres batch delete error
3 years ago
Chris Lu
cc7714fdbe
logging changes to debug
4 years ago
Konstantin Lebedev
6aa1a56ec8
avoid crashes Galera Cluster
https://github.com/chrislusf/seaweedfs/issues/2125
4 years ago
Chris Lu
e06807a55b
adjust logs
4 years ago