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
Chris Lu
482d13468b
remove println
5 years ago
Chris Lu
0b8cc9b626
aggregate multiple filer metadata chagne events
5 years ago