chrislu
3fd659df2a
add distributed lock manager
2 years ago
chrislu
81fdf3651b
grpc connection to filer add sw-client-id header
2 years ago
chrislu
7f49c59c14
cluster.ps add filer meta sync progress
2 years ago
Konstantin Lebedev
803ca3c958
avoid data race on doSubscribeToOneFiler/ma.filer.UniqueFilerEpoch ( #3566 )
https://github.com/seaweedfs/seaweedfs/issues/3565
2 years ago
chrislu
eaeb141b09
move proto package
2 years ago
Konstantin Lebedev
a98f6d66a3
rollback over onPeerupdate implementation of automatic clean-up of failed servers in favor of synchronous ping
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
64f3d6fb6e
metadata subscription uses client epoch
2 years ago
Konstantin Lebedev
b6471ecd75
err msg with duplicated local subscription detected move to log level 1
https://github.com/chrislusf/seaweedfs/issues/3320
2 years ago
Konstantin Lebedev
11e393dbe7
err msg with duplicated local subscription detected move to log level 1
https://github.com/chrislusf/seaweedfs/issues/3320
2 years ago
chrislu
aca20cd9f4
more logging related to filer metadata subscription
2 years ago
chrislu
fa61074513
add clientId logging
2 years ago
chrislu
860c207c94
typo
2 years ago
石昌林
2b5b37231b
Make sure that onChangeEvent is called successfully before updating lastTsNs
3 years ago
石昌林
e17e6ed542
Avoid synchronizing from scratch due to err
3 years ago
chrislu
6adc42147f
fresh filer store bootstrap from the oldest peer
3 years ago
chrislu
9219664505
reset sync offset if peer filer resets
fix https://github.com/chrislusf/seaweedfs/issues/3089
3 years ago
chrislu
cae998eda1
Revert "Revert "remove duplicated metadata subscription in filer""
This reverts commit 34b743c481
.
3 years ago
chrislu
34b743c481
Revert "remove duplicated metadata subscription in filer"
This reverts commit 34742be029
.
Related to https://github.com/chrislusf/seaweedfs/issues/2545
3 years ago
Konstantin Lebedev
834210a9dc
avoid connect to the old filler address
https://github.com/chrislusf/seaweedfs/issues/2545
3 years ago
chrislu
4a311c7f5e
dedup local metadata subscribers
fix https://github.com/chrislusf/seaweedfs/discussions/2542
3 years ago
chrislu
34742be029
remove duplicated metadata subscription in filer
https://github.com/chrislusf/seaweedfs/issues/2545
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
9887610b54
log tsNs should be processing time
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
cc7714fdbe
logging changes to debug
4 years ago
Chris Lu
2d0a0733ec
filer: bootstrap from peer filer
fix https://github.com/chrislusf/seaweedfs/issues/1861
4 years ago
Chris Lu
5be83dd4a9
add comments
4 years ago
Chris Lu
442e092995
filer watch "/etc" folder for configuration changes
4 years ago
Chris Lu
b61d33f251
expose only store wrapper to meta changes
4 years ago
Chris Lu
10f9081526
filer: adjust meta data events to received timestamp
if a client is already connected and start from t0. A message recieved at t+1 but with timestamp t-1 may not be processed by the client.
This commit changes to the event received time, so the replication can be ordered.
4 years ago
Chris Lu
446e476a11
go fmt
4 years ago
Chris Lu
daf0a449f7
properly cancel context for streaming grpc
4 years ago
Chris Lu
d8af6f62df
adjust logging
4 years ago
Chris Lu
07f32feed0
print sync progress
4 years ago
Chris Lu
0af6252b2d
fix compilation
4 years ago
Chris Lu
ac494ff5e8
Update meta_aggregator.go
4 years ago
Chris Lu
c9f8f25ba5
read peer filer from start
4 years ago
Chris Lu
8acd714600
apply meta changes only if store is different
4 years ago
Chris Lu
d741ed66db
check whether shares the same filer store
4 years ago
Chris Lu
bba90ff3c8
read filer signature
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago
Chris Lu
b69cb74c03
read meta logs by timestamp
pass in event ts when moving logs
meta aggregator reads in memory logs only
4 years ago
Chris Lu
ddec7b2bb9
go fmt
5 years ago
Chris Lu
4f6096c7f0
add reading from persisted logs for local filer store
5 years ago
Chris Lu
87b5031714
change variable visibility
5 years ago
Chris Lu
7597831cac
filer: leveldb2 supports peers also
5 years ago
Chris Lu
5ba894bb72
leveldb2: support subscribing from peers
5 years ago