chrislu
ae5bd0667a
rename proto field from DestroyTime to expire_at_sec
For TTL volume converted into EC volume, this change may leave the volumes staying.
2 months ago
LHHDZ
4dc33cc143
fix unclaimed spaces calculation when volumePreallocate is enabled ( #6063 )
the calculation of `unclaimedSpaces` only needs to subtract `unusedSpace` when `preallocate` is not enabled.
Signed-off-by: LHHDZ <shichanglin5@qq.com>
3 months ago
Konstantin Lebedev
15965f7c54
[shell] fix volume grow in shell ( #5992 )
* fix volume grow in shell
* revert add Async
* check available volume space
* create a VolumeGrowRequest and remove unnecessary fields
4 months ago
chrislu
0cf2c15828
rename
4 months ago
augustazz
0b00706454
EC volume supports expiration and displays expiration message when executing volume.list ( #5895 )
* ec volume expire
* volume.list show DestroyTime
* comments
* code optimization
---------
Co-authored-by: xuwenfeng <xuwenfeng1@zto.com>
4 months ago
chrislu
010c5e91e3
add stream assign proto
1 year ago
chrislu
8ec1bc2c99
remove unused cluster node leader
2 years ago
Guo Lei
d8cfa1552b
support enable/disable vacuum ( #4087 )
* stop vacuum
* suspend/resume vacuum
* remove unused code
* rename
* rename param
2 years ago
Konstantin Lebedev
36daa7709d
show raft leader via shell ( #3796 )
2 years ago
chrislu
c8645fd232
master: implement grpc VolumeMarkWritable
fix https://github.com/seaweedfs/seaweedfs/issues/3657
2 years ago
chrislu
b9112747b5
volume server: synchronously report volume readonly status to master
fix https://github.com/seaweedfs/seaweedfs/issues/3628
2 years ago
Konstantin Lebedev
4d08393b7c
filer prefer volume server in same data center ( #3405 )
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
9f479aab98
allocate brokers to serve segments
2 years ago
chrislu
f25e273e32
display data center and rack in cluster.ps
3 years ago
chrislu
68065128b8
add dc and rack
3 years ago
chrislu
1112dab4f3
allocate brokers to serve segments
2 years ago
chrislu
3254f18343
display data center and rack in cluster.ps
3 years ago
chrislu
9f20d3ebd1
add dc and rack
3 years ago
chrislu
682382648e
collect cluster node start time
3 years ago
guol-fnst
b12944f9c6
fix naming convention
notify volume server of duplicate directoris
improve searching efficiency
3 years ago
guol-fnst
de6aa9cce8
avoid duplicated volume directory
3 years ago
chrislu
94635e9b5c
filer: add filer group
3 years ago
Konstantin Lebedev
1e35b4929f
shell vacuum volume by collection and volume id
3 years ago
chrislu
b4be56bb3b
add timing info during ping operation
3 years ago
Konstantin Lebedev
85d80fd36d
fix removing old raft server
3 years ago
Konstantin Lebedev
357aa818fe
add raft shell cmds
3 years ago
chrislu
bc888226fc
erasure coding: tracking encoded/decoded volumes
If an EC shard is created but not spread to other servers, the masterclient would think this shard is not located here.
3 years ago
chrislu
bbbbbd70a4
master supports grpc ping
3 years ago
chrislu
a2d3f89c7b
add lock messages
3 years ago
Chris Lu
e0fc2898e9
auto updated filer peer list
3 years ago
Chris Lu
4b9c42996a
refactor grpc API
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
5160eb08f7
shell: optionally read filer address from master
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
e93d4935e3
add other replica locations when assigning volumes
3 years ago
Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Chris Lu
5571f4f70a
master: add master.follower to handle read file id lookup requests
3 years ago
Chris Lu
4370a4db63
use int64 for volume count in case of negative overflow
3 years ago
Chris Lu
f0ad172e80
shell: show which server holds the lock
fix https://github.com/chrislusf/seaweedfs/issues/1983
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
94525aa0fd
allocate volume by disk type
4 years ago
Chris Lu
d156c74ec0
volume server set volume type and heartbeat to the master
4 years ago
Chris Lu
e9cd798bd3
adding volume type
4 years ago
Chris Lu
965413c21b
shell: add volume.vacuum command
4 years ago
Chris Lu
5a16f17e47
remove unused message type
4 years ago
Konstantin Lebedev
1eec5c8d5d
gen pb
4 years ago
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
Chris Lu
55cb68c09c
filer: replication follows master config if not specified
4 years ago