Chris Lu
da0a4e775b
Revert "Revert "Merge pull request #2027 from bingoohuang/master""
This reverts commit d74cdf0115
.
4 years ago
Chris Lu
7ca75347ec
minor
4 years ago
Chris Lu
8f8738867f
add retry to assign volume
fix https://github.com/chrislusf/seaweedfs/issues/2056
4 years ago
qieqieplus
c4d32f6937
ahead of time volume assignment
4 years ago
Chris Lu
c899bdf063
a little optimization
4 years ago
Chris Lu
3eb336e0b0
report error only for the first multipart upload
the glog.Errorf would always print for s3 multipart uploads
4 years ago
Chris Lu
ac71117ee6
revert PR #1903 avoid http error: superfluous response.WriteHeader
4 years ago
qieqieplus
ac26080bd2
fix concurrent vacuum & delete panic
4 years ago
Chris Lu
e24ba2aadc
filer: delete specific tags
fix https://github.com/chrislusf/seaweedfs/issues/2041
4 years ago
Chris Lu
d74cdf0115
Revert "Merge pull request #2027 from bingoohuang/master"
Need to revert because docker image build failed. The docker apk package only has go 1.15.
4 years ago
Konstantin Lebedev
c2269123d3
fix aws style Etag for chunks
4 years ago
bingoohuang
7a9d27fce8
promote to go:embed instead of github.com/rakyll/statik
4 years ago
bingoohuang
cf552417a7
minFreeSpace refactored
4 years ago
bingoohuang
31f1cdeac2
minFreeSpace argument allows size like 10GiB
4 years ago
Chris Lu
ddc8643ee0
filer: directory listing adds namePatternExclude
fix https://github.com/chrislusf/seaweedfs/issues/2023
4 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
11c120c040
master UI adds volume size limit
4 years ago
Chris Lu
6e5df901e4
adjust package names
4 years ago
Konstantin Lebedev
198688c717
revert volume etag
4 years ago
Chris Lu
1e033d45b8
simpler logic
related to https://github.com/chrislusf/seaweedfs/pull/1981
4 years ago
Chris Lu
519b0e1e49
filer: upload to a directory without "/" suffix
fix https://github.com/chrislusf/seaweedfs/issues/1988
4 years ago
Chris Lu
af313dff58
add gateway for easier POST and DELETE blobs
4 years ago
Chris Lu
0b82edc0d2
filer: avoid stuck uploader
fix https://github.com/chrislusf/seaweedfs/issues/1980
reverting the file upload batch executor
4 years ago
Merlin Gaillard
f952f979d1
filer: return 304 when If-Modified-Since == Last-Modified
4 years ago
Chris Lu
2327c0756b
fix to avoid loop
4 years ago
Chris Lu
c131764c34
ensure error is sent back in channel
fix https://github.com/chrislusf/seaweedfs/issues/1966
avoid shared readErr variable
4 years ago
Chris Lu
8251d1140e
refactor
4 years ago
Chris Lu
8e404a1433
go fmt
4 years ago
Chris Lu
67e019d54b
add missing changes
4 years ago
Chris Lu
7e8edc3c4a
refactoring
4 years ago
Chris Lu
cefe66f159
dedicated upload processor
avoid thundering effect of overloading volume servers
4 years ago
Chris Lu
b5880334fc
refactor
4 years ago
Chris Lu
e79e2ddeed
remove unused MoveEvents
4 years ago
Chris Lu
ac875976c0
filer, volume: add concurrent upload size limit to avoid OOM
add some back pressure when writes are slow
4 years ago
李海
06be5dc6c3
log snowflake sequencer nodeid's hex when start, it'll be in part of new assigned fid
4 years ago
李海
69b2dab9c6
add a snowflake sequencer as more robust fid generator, but less compressable than small auto-inc id
4 years ago
Chris Lu
a801332b0d
filer: return 409 if file conflicts with a directory
fix https://github.com/chrislusf/seaweedfs/issues/1938
4 years ago
Chris Lu
5d931eff27
avoid possible nil
fix https://github.com/chrislusf/seaweedfs/issues/1928
The nil was because of `dn.Parent().UnlinkChildNode(dn.Id())` in topo.UnRegisterDataNode() function, when the dn leaves the cluster.
4 years ago
Chris Lu
f315eb2bb8
fix build error
4 years ago
Chris Lu
b465095db1
shell: add volume.check.disk to fix inconsistency for replicated volumes
fix https://github.com/chrislusf/seaweedfs/issues/1923
4 years ago
Chris Lu
b1a86cf808
s3: copy object to itself
fix https://github.com/chrislusf/seaweedfs/issues/1922
4 years ago
Konstantin Lebedev
06da02739d
CheckAllChunkViews() for HEAD requests only
4 years ago
Konstantin Lebedev
90510e3137
If WriteHeader is not called explicitly, the first call to Write
will trigger an implicit WriteHeader(http.StatusOK).
WriteHeader: Only one header may be written. Go does not currently!
4 years ago
Konstantin Lebedev
46b9f5cff4
add debug logging
4 years ago
Chris Lu
5d446673a6
fix error printing
4 years ago
Chris Lu
df72dc206d
stats collect chunk upload retry count
4 years ago
Chris Lu
8363be8548
trim out trailing return character
4 years ago
Chris Lu
400de380f4
volume server: support tcp direct put/get/delete
4 years ago
Chris Lu
e982b06bcd
support IPv6
4 years ago
Patrick Schmidt
5f7b024891
Show the real disk usage in stats calls
Currently the file size of only one volume location is taken into
account in the stats. This commit multiplies the disk usages by the
amount of nodes holding a replica of the volume.
This will yield the expected amount of disk usage and matches the
total size calculations from before.
4 years ago