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
James Hartig
3ccfa4c6ad
Added VolumeMarkWritable and VolumeStatus grpc methods
This is necessary for copy to mark as read-only and then restore the
original state afterwards.
4 years ago
Chris Lu
a78772d5ea
avoid shutdown in the middle of running
4 years ago
Chris Lu
c026eb0592
refactoring
4 years ago
Chris Lu
7e91ae592c
pass in option to read deleted entries
not working yet
4 years ago
Chris Lu
6a92f0bc7a
refactoring to typed Size
Go is amazing with refactoring!
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
3b1a95ac26
filer refactoring: same auto chunking logic for POST and PUT, no size limit
4 years ago