Chris Lu
da4edf3651
master: check peers for existing leader before starting a leader election
fix https://github.com/chrislusf/seaweedfs/issues/1509
4 years ago
Konstantin Lebedev
e4f2d9eb4a
We return etag using the same algorithm as aws s3
https://teppen.io/2018/06/23/aws_s3_etags/
4 years ago
Устюжанин Антон Александрович
702b1cb876
fix: remove deleted peers if resumeState = true
4 years ago
Устюжанин Антон Александрович
dc31b19469
fix: restore raft state
4 years ago
Устюжанин Антон Александрович
8c82fb7e5f
fix: restore raft state
4 years ago
Chris Lu
55cb68c09c
filer: replication follows master config if not specified
4 years ago
Chris Lu
31fc7bb2e1
refactor
adjust for faster test
4 years ago
Chris Lu
41be7a4c8f
filer: upload also set file size
ensure works same as fuse mount
4 years ago
Chris Lu
1012df7bb5
switch hardlink id from int64 to bytes
4 years ago
Chris Lu
4856bce0ee
adjust for metrics port
4 years ago
Konstantin Lebedev
324e44d4b3
add start metrics server
4 years ago
Chris Lu
5e239afdfc
hardlink works now
4 years ago
James Hartig
91e4eca1e9
Fix deadlock with KeepConnected and SendHeartbeat
There's the potential where we're writing to a clientConn and it goes away
and we're stuck keeping a read lock on clientChansLock. This causes
KeepConnected to not be able to remove the client since it requires a write
lock on clientChansLock. This ends up backing up SendHeartbeat because it
can't get a read lock.
4 years ago
Chris Lu
63373a9f9f
filer: add file extended properties
4 years ago
Chris Lu
9a3b564508
adjust printout
4 years ago
Chris Lu
62563a895a
refactoring
4 years ago
Chris Lu
d013d09a9b
adjust logging
4 years ago
Chris Lu
41d508edfd
go fmt
4 years ago
Chris Lu
2c21eb1971
volume: get metrics configuration from master
fix https://github.com/chrislusf/seaweedfs/issues/1354
4 years ago
Chris Lu
cb427d48fa
filer report metrics configuration
4 years ago
Chris Lu
e4e0234998
refactoring
4 years ago
Chris Lu
e861a6a3ab
simplify metrics configuration logic
4 years ago
Chris Lu
be54eeb364
passing value by checkWithMaster() instead
4 years ago
Chris Lu
4d21de63ee
go fmt
4 years ago
Chris Lu
913a16268d
volume: load configuration from master at the start
fix https://github.com/chrislusf/seaweedfs/issues/1469
4 years ago
Chris Lu
c9202c4b3d
add storage backend to GetMasterConfigurationResponse
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
ada996fe55
filer: support createing empty folder
fix https://github.com/chrislusf/seaweedfs/issues/1161
4 years ago
Chris Lu
5d6753fb98
shell: add volumeServer.leave command
4 years ago
Chris Lu
cc5fe6f5ee
handle special characters in html link
4 years ago
Chris Lu
b183ae54b5
master: changing 301 to 308 on redirect to volume servers
fix https://github.com/chrislusf/seaweedfs/issues/1454
4 years ago
Chris Lu
daf0a449f7
properly cancel context for streaming grpc
4 years ago
Chris Lu
387ab6796f
filer: cross cluster synchronization
4 years ago
Chris Lu
5e13bc878c
adjust log level
4 years ago
Chris Lu
8acd714600
apply meta changes only if store is different
4 years ago
Chris Lu
bba90ff3c8
read filer signature
4 years ago
ruitao.liu
798280e980
change filer2 to filer.
4 years ago
ruitao.liu
a93d27d1e8
new filer option to es v7.
4 years ago
James Hartig
8e54e34576
volume: Don't unmount before deleting volume in copy
If we unmount first and then delete, the delete fails because the volume
was unmounted. Delete ends up doing the same thing as the unmount anyways.
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago
Chris Lu
97733c3dff
typo
4 years ago
Chris Lu
f0c89cfacd
go fmt
4 years ago
Chris Lu
a41588279a
change log level 5 to 4
4 years ago
Chris Lu
56244fb9a1
fix hard coded host address
4 years ago
Chris Lu
99ecf63276
go fmt
4 years ago
Chris Lu
ca658a97c5
add signatures to messages to avoid double processing
4 years ago
Konstantin Lebedev
464d4c82ec
stop send heartbeat before stop volume server
4 years ago
Chris Lu
1901f15cd2
volume server: remove whitelist for status checking
Volume liveness/readiness not work if jwt enabled, I try use param
-whiteList
but jwt breaks
4 years ago
Chris Lu
51346a5930
always keep the manifest list of chunks
4 years ago