Chris Lu
a1c01d716b
volume: avoid deadlock when deleting volumes
fix https://github.com/chrislusf/seaweedfs/issues/1501
4 years ago
Chris Lu
103fafe00b
weed export: print out [start,stop) content range
4 years ago
Chris Lu
f2723c1bc8
do not idx file format
revert c9ab8d05fa
4 years ago
Chris Lu
446e476a11
go fmt
4 years ago
Chris Lu
ea26a98753
volume: validate volume correctness if last entry is a deletion
4 years ago
Chris Lu
9d4bdfcfdf
fix volume integrity checking
4 years ago
Chris Lu
401ccf1509
fix test
4 years ago
Chris Lu
c9ab8d05fa
fixes for reading deleted fid
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
38e06d783d
volume: check disk space before compaction
fix https://github.com/chrislusf/seaweedfs/issues/1440
4 years ago
Chris Lu
dbb10e0f0b
testing with more than 30days
4 years ago
Chris Lu
99ecf63276
go fmt
4 years ago
Chris Lu
ab759f0ec2
erasure coding: fix EC error if multiple disks are configured in one volume server
4 years ago
Chris Lu
d1cf39f180
fix logging
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
3b4b1d4a77
fix tests
4 years ago
Chris Lu
ed4b43b419
adjust logs
4 years ago
Chris Lu
fe01191b5b
support read option readDeleted=true
4 years ago
Chris Lu
6ccd7f0a4d
refactoring
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
ee11d98650
refactoring
4 years ago
Chris Lu
6a92f0bc7a
refactoring to typed Size
Go is amazing with refactoring!
4 years ago
Chris Lu
627b081b67
adjust logs
4 years ago
Chris Lu
c03bb180eb
fix error reporting
4 years ago
Chris Lu
ab6e5c0dc4
adjust error message
4 years ago
Chris Lu
20e2ac1add
filer: store md5 metadata for files uploaded by filer
fix https://github.com/chrislusf/seaweedfs/issues/1412
4 years ago
Chris Lu
4ecfa9879d
volume: report Content-MD5 in response header
4 years ago
Chris Lu
cbd80253e3
better needle id format
4 years ago
Chris Lu
f89186a3cf
better logging
4 years ago
Chris Lu
943fa4ea0c
fix compilation error
4 years ago
Chris Lu
49446af516
simplify
4 years ago
James Hartig
0be3bb4a87
idx: Switch WalkIndexFile to accept generic io.ReaderAt
This is necessary to use it with in-memory idx files.
4 years ago
Chris Lu
97d97f3528
go code can read and write chunk manifest
4 years ago
Chris Lu
f43146b237
resolve directories if containing home directory
5 years ago
Chris Lu
ddec7b2bb9
go fmt
5 years ago
Chris Lu
f2e8ad6241
refactoring
5 years ago
李远军
6608cb5f43
Revert "remove fixJpgOrientation"
This reverts commit de5ca9b2
5 years ago
Chris Lu
4bed1663e2
adjust log level
5 years ago
Chris Lu
4d1484628a
refactoring
5 years ago
Chris Lu
faa5c2e89a
refactoring
5 years ago
Chris Lu
20d9cfae86
volume: following md5 base64 encoding
fix https://github.com/chrislusf/seaweedfs/issues/1374
5 years ago
Chris Lu
212c64241b
checking ecx file
5 years ago
Chris Lu
9fd7cdadf1
fix
5 years ago
Chris Lu
3b638d3994
add more ec encoding logging
5 years ago
Chris Lu
32a1f22730
more logs
5 years ago
Chris Lu
2ff37ccdbd
testing parsing the upload
The mime type is always the value passed in.
Compress or not depends on the content detection, file name extension, and compression ratio.
If the content is already compressed, need to know the content size.
5 years ago
Kimbsen
4eeab2a379
remove unused imports
5 years ago
Kimbsen
ffddecebef
do md5 validation AFTER decompression
5 years ago
Chris Lu
fe60db404a
prepare for zstd
5 years ago