chrislu
|
701abbb9df
|
add IsResourceHeavy() to command interface
|
3 months ago |
柏杰
|
0b0fb9b9e4
|
avoid data race read volume.IsEmpty (#4574)
* avoid data race read volume.IsEmpty
- avoid phantom read isEmpty for onlyEmpty
- use `v.DataBackend.GetStat()` in v.dataFileAccessLock scope
* add Destroy(onlyEmpty: true) test
* add Destroy(onlyEmpty: false) test
* remove unused `IsEmpty()`
* change literal `8` to `SuperBlockSize`
|
2 years ago |
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 |
Konstantin Lebedev
|
5caff2c0f0
|
fix: deletes newly created volumes (#4551)
https://github.com/seaweedfs/seaweedfs/issues/4531
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
|
2 years ago |
chrislu
|
26dbc6c905
|
move to https://github.com/seaweedfs/seaweedfs
|
2 years ago |
chrislu
|
6793bc853c
|
help message when in simulation mode
|
3 years ago |
chrislu
|
f18803424a
|
volume.balance: add delay during tight loop
fix https://github.com/chrislusf/seaweedfs/issues/2637
|
3 years ago |
chrislu
|
a2d3f89c7b
|
add lock messages
|
3 years ago |
Chris Lu
|
119d5908dd
|
shell: do not need to lock to see volume -h
|
3 years ago |
Chris Lu
|
e5fc35ed0c
|
change server address from string to a type
|
3 years ago |
byunghwa.yun
|
9e839cb5cc
|
Add force option in volume.deleteEmpty command
|
3 years ago |
Chris Lu
|
2ca1839d77
|
shell: add `volume.deleteEmpty` command
|
3 years ago |