Konstantin Lebedev
|
25535e9c36
|
Delete volume is empty (#4561)
* use onlyEmpty for deleteVolume
https://github.com/seaweedfs/seaweedfs/issues/4559
* fix IsEmpty
* fix test
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
|
2 years ago |
chrislu
|
31bb91583f
|
fix bug when vid not found
fix https://github.com/seaweedfs/seaweedfs/issues/4193
|
2 years ago |
chrislu
|
676e27c589
|
shell: stop long running jobs if lock is lost
|
2 years ago |
chrislu
|
26dbc6c905
|
move to https://github.com/seaweedfs/seaweedfs
|
2 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
|
f18803424a
|
volume.balance: add delay during tight loop
fix https://github.com/chrislusf/seaweedfs/issues/2637
|
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 |
chrislu
|
a2d3f89c7b
|
add lock messages
|
3 years ago |
Chris Lu
|
00ae965d8d
|
randomize a bit for ec shards distribution
|
3 years ago |
Chris Lu
|
794375ca0a
|
adjust help message since both fullPercent and quietFor are needed.
|
3 years ago |
Chris Lu
|
119d5908dd
|
shell: do not need to lock to see volume -h
|
3 years ago |
Chris Lu
|
6cd1ce8b74
|
erasure coding: add cleanup step if anything goes wrong
|
3 years ago |
Chris Lu
|
e5fc35ed0c
|
change server address from string to a type
|
3 years ago |
Chris Lu
|
0f7d4556d8
|
shell: volume.tier.move makes up changes if volume move failed
|
3 years ago |
Chris Lu
|
76c48ffe27
|
optional parallel copy ec shards
fix https://github.com/chrislusf/seaweedfs/issues/2048
|
4 years ago |
Chris Lu
|
1b1c018165
|
adjust text
|
4 years ago |
Chris Lu
|
1c233ad986
|
refactoring
|
4 years ago |
Chris Lu
|
f8446b42ab
|
this can compile now!!!
|
4 years ago |
Chris Lu
|
536202e4e0
|
minor
|
4 years ago |
Chris Lu
|
ae1994cbc1
|
erasure coding: fix cases where there are no .ecj files
|
5 years ago |
Chris Lu
|
75179544c3
|
logging
|
5 years ago |
Chris Lu
|
73564e6a01
|
master: add cluster wide lock/unlock operation in weed shell
fix https://github.com/chrislusf/seaweedfs/issues/1286
|
5 years ago |
Chris Lu
|
97ab8a1976
|
remove ctx if possible
|
5 years ago |
Chris Lu
|
892e726eb9
|
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
|
5 years ago |
Chris Lu
|
72a64a5cf8
|
use the same context object in order to retry
|
5 years ago |
Chris Lu
|
3ebeae0c0b
|
ec encode distribute ec data and parity shards evenly
|
5 years ago |
Chris Lu
|
dda5c6d3cb
|
fmt
|
5 years ago |
Chris Lu
|
5f6b360eb7
|
adjust error message
|
5 years ago |
j.laycock
|
6fc6322c90
|
Change joeslay paths to chrislusf paths
|
5 years ago |
j.laycock
|
595a1beff0
|
Swap imports to use joeslay
|
5 years ago |
Chris Lu
|
8afd8d35b3
|
master: followers can also lookup and redirect
improve scalability
|
5 years ago |
Chris Lu
|
a3d1296ed9
|
go fmt
|
6 years ago |
Chris Lu
|
6883f9e322
|
mark volume readonly before ec encoding
|
6 years ago |
Chris Lu
|
6bc3dee5b3
|
refactoring
|
6 years ago |
Chris Lu
|
f9d8bd51ad
|
ec shard balancing
|
6 years ago |
Chris Lu
|
ede876cfdb
|
periodic scripts exeuction from leader master
|
6 years ago |
Chris Lu
|
b9e138713c
|
ec.encode: add -fullPercent option
|
6 years ago |
Chris Lu
|
d85b41b904
|
fix ec.encode not finding the local ec shards
|
6 years ago |
Chris Lu
|
7e80b2b882
|
fix multiple bugs
|
6 years ago |
Chris Lu
|
ba18314aab
|
ec shard delete also check ec volumes, in addition to volumes
|
6 years ago |
Chris Lu
|
f919d0235c
|
ec encode volumes quiet for a period of time
|
6 years ago |
Chris Lu
|
a72cef3c42
|
encode by collection
|
6 years ago |
Chris Lu
|
866197eee3
|
print out the ec balancing plan
|
6 years ago |
Chris Lu
|
3f9ecee40f
|
working with reading remote intervals
|
6 years ago |
Chris Lu
|
b4b407e403
|
add grpc ec shard read
|
6 years ago |
Chris Lu
|
db94a41f9e
|
mount/unmount ec shards
|
6 years ago |
Chris Lu
|
41e8ae61f8
|
generate, balance, delete copied shards, delete old volume
|
6 years ago |
Chris Lu
|
f0e6574d5e
|
allocate ec shards to volume servers
|
6 years ago |
Chris Lu
|
228850d588
|
shard id starts from zero
|
6 years ago |