Konstantin Lebedev
d4343ab7da
forcePurging desc
3 years ago
Konstantin Lebedev
ae56b2c00f
change forcePurging to a pointer
3 years ago
Konstantin Lebedev
6d2fda27d2
delete missing data from volumes in one replica
3 years ago
Konstantin Lebedev
7f1383a41e
findExtraChunksInVolumeServers in consideration of replication
3 years ago
Konstantin Lebedev
3817e05dd0
fix collect filer files
3 years ago
Konstantin Lebedev
3cedb21bb7
skip new entities
3 years ago
Konstantin Lebedev
1d9e30d8c0
fsck replicas
3 years ago
Konstantin Lebedev
4f5b018a02
collecting only bucket volumes
3 years ago
banjiaojuhao
f7f2a597dd
minor
3 years ago
Radtoo
724ce04b1c
We picked the second flag's name.
3 years ago
Radtoo
fbe7ed7927
Revert the the flag to "reallyDeleteFromVolume".
3 years ago
chrislu
f18803424a
volume.balance: add delay during tight loop
fix https://github.com/chrislusf/seaweedfs/issues/2637
3 years ago
Radtoo
fbb14e0ea8
Adding separate toggle to purge absent vols
While this toggle is basically required to clean out entries for deleted volumes, having a separate description + toggling this separately seems like a good idea so people get a chance to check if their volumes are all mounted/connected as expected.
Also renamed forcePurge to just purge.
3 years ago
Radtoo
6b17f45da2
Also delete paths for which a volume is entirely absent.
3 years ago
Radtoo
fa0cfdfb7f
Added basic deletion capabilities to fsck.
3 years ago
chrislu
ce2049cdb6
refactoring, move genFn before saveFn
3 years ago
chrislu
60dc450091
skip fixing read only volumes
fix https://github.com/chrislusf/seaweedfs/issues/2562
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
94e5c0a454
skip purging from ec volumes
3 years ago
chrislu
a2d3f89c7b
add lock messages
3 years ago
Chris Lu
9ccfc1cfee
Update command_volume_fsck.go
minor
3 years ago
Chris Lu
71a94267c9
Update command_volume_fsck.go
remove unused code
3 years ago
Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
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
Chris Lu
333cdce485
add verbose message
3 years ago
Chris Lu
4deac06da0
log fix
3 years ago
Chris Lu
7ab389e7ec
optimization: improve random range query for large files
3 years ago
Chris Lu
01adc567aa
shell: volume.fsck deletes a volume is the volume has only orphaned data.
fix https://github.com/chrislusf/seaweedfs/issues/2190
4 years ago
Chris Lu
d013d6d968
shell: volume.fsck "reallyDeleteFromVolume" should send padded file ids to delete
fix https://github.com/chrislusf/seaweedfs/issues/2188
4 years ago
Chris Lu
08377fecb8
fixes
4 years ago
Chris Lu
1cac2f2278
shell: volume.fsck checks missing chunks in filer
fix https://github.com/chrislusf/seaweedfs/issues/2154
4 years ago
Chris Lu
9dd09bbb33
refactor
4 years ago
Chris Lu
1c233ad986
refactoring
4 years ago
Chris Lu
3575d41009
go fmt
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
6d30b21b10
volume: add "-dir.idx" option for separate index storage
fix https://github.com/chrislusf/seaweedfs/issues/1265
4 years ago
Chris Lu
e73d6c9526
able to print partial file id
address https://github.com/chrislusf/seaweedfs/issues/1552
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago
Chris Lu
885c624bce
volume.fsck: follow manifest chunks
4 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
ae3d08883f
volume.fsck: fix for erasure encoded volumes
fix https://github.com/chrislusf/seaweedfs/issues/1254
5 years ago
Chris Lu
966df2ae27
purging skip EC volumes
5 years ago
Chris Lu
6d87a0c5f5
batch delete orphan data by file keys
5 years ago
Chris Lu
d79f0a76b1
format output
5 years ago
Chris Lu
d9b56ed88b
shell: volume.fsck add options
5 years ago
Chris Lu
4d5554b16f
fix compilation on travis
5 years ago
Chris Lu
00d3f01876
better output format
5 years ago
Chris Lu
0820935290
clean up
5 years ago
Chris Lu
49440cbd2f
shell: add volume.fsck
volume.fsck can find out how much space is not used by the filer
5 years ago