Konstantin Lebedev
8fb978d6f6
[volume] requests that were canceled by the client are not an internal server problem(500 => 499) ( #5304 )
1 year ago
Justin Dhillon
a48e2ec45b
Fix Broken Links ( #5287 )
* https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-setprocessworkingsetsize
* https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-getprocessworkingsetsize
* remove https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
* https://github.com/AShiou/hof
1 year ago
Chris Lu
16b4f9d9ab
subscriber find broker leader first
2 years ago
Chris Lu
e27deed4bc
upgrade protoc
2 years ago
Chris Lu
656b78d1af
proxy to broker leader
2 years ago
Chris Lu
90fcde0e26
report EOF error
2 years ago
Chris Lu
07028a4864
minor
2 years ago
Chris Lu
fa72761bb8
fix on finding lock owner
2 years ago
Chris Lu
4dc6681833
proxy requests to lock owner
2 years ago
sxlehua
ffe5f19aa0
Add s3 postpolicy support header ( #5280 )
* Add s3 postpolicy support header
* optimized code
2 years ago
Chris Lu
0d74ac9224
fix divide by zero
2 years ago
Chris Lu
f9131de43f
fix lock TTL
2 years ago
Chris Lu
44b49bec99
less verbose
2 years ago
Chris Lu
56df44845f
fix when two consecutive chunks with the same modified_ts_ns
fix https://github.com/seaweedfs/seaweedfs/issues/5276
2 years ago
Chris Lu
0a12301b3d
avoid too large expiration time
2 years ago
sxlehua
0b49c16361
Adapt S3 POST ContentType ( #5275 )
2 years ago
Chris Lu
1b5ba4190c
avoid timestamp overflow
2 years ago
chrislu
d41792461c
lock returns host and owner
2 years ago
chrislu
d30150dde1
use a short-lived lock
2 years ago
chrislu
c1bb76d709
fix nil error
2 years ago
chrislu
ac50d8a822
re-lock if the lock owner is not found
2 years ago
Benoît Knecht
56287bd07d
weed/shell: Cluster check other disk types ( #5245 )
* week/shell: Cluster check other disk types
The `cluster.check` command only took the empty (`""`) and `hdd` disk types
into consideration, but a cluster with only `ssd` or `nvme` disk types would be
equally valid.
This commit simply checks that _any_ disk type is defined, and that some
volumes are available for it.
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
* weed/shell: Replace loop that copies slice
Use the following construct instead of a `for` loop:
```golang
x = append(x, y...)
```
See https://staticcheck.dev/docs/checks#S1011 .
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
* weed/shell: Check disk types when filer is in use
Filer stores its metadata logs in generic (i.e. `""`) or HDD disk type volumes,
so make sure those disk types exist and have volumes associated with them when
Filer is deployed in the cluster.
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
---------
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
2 years ago
Sébastien
0775d05a23
fix: http range request return status 500 ( #5251 )
When volume server unavailable for at least one chunk; was returning status 206.
Split `StreamContent` in two parts,
- first prepare, to get chunk info and return stream function
- then write chunk, with that stream function
That allow to catch error in first step before setting response status code in `processRangeRequest`
2 years ago
chrislu
0b2e5ddc7c
wait 3 seconds before shutting down publish client, to wait for all messages to be received
2 years ago
chrislu
545d5fbdf6
unused code
2 years ago
chrislu
a507069d19
lock for creating local partition
2 years ago
chrislu
9e6ea80dff
read existing topic conf
2 years ago
chrislu
a297247137
wait for each publish clients
2 years ago
chrislu
b6c5e57c30
read will block if no items
2 years ago
chrislu
0bf5424a2e
adjust visibility
2 years ago
chrislu
dedfd31dfb
refactor
2 years ago
chrislu
cbf750a31f
refactor
2 years ago
chrislu
b51dfe2bff
wait for publishing clients
2 years ago
chrislu
f8c55f101e
clean up
2 years ago
chrislu
d40225ecd2
return the lookup results
2 years ago
chrislu
841fafd0a8
publish to input buffer
currently, the input buffer may not exist when start to publish
2 years ago
chrislu
5dc1362bdc
close the input
2 years ago
chrislu
fa835c9319
Update buffered_queue_test.go
2 years ago
Chris Lu
b6de35cdb2
moved. there are some deadlock. WIP
2 years ago
chrislu
91af1f3069
schedule jobs
2 years ago
Benoît Knecht
f6e39139d8
weed/storage: Fix volume info file permissions ( #5246 )
2 years ago
chrislu
08c5fba825
adds a buffered queue
2 years ago
chrislu
cb50b720fd
Revert "Fix weed fix"
This reverts commit 6c1ce18541
.
2 years ago
Benoît Knecht
1f08010ef0
weed/shell: Cleanup volume balance logic ( #5241 )
2 years ago
Konstantin Lebedev
0f8e76bbd6
fix: clean metric MasterReplicaPlacementMismatch for unregister volume ( #5239 )
2 years ago
Benoît Knecht
a6aee847b9
weed/shell: Fix volume.balance logic ( #5238 )
2 years ago
Konstantin Lebedev
0b71fae2e3
fix: s3tests test_get_object_ifnonematch_good ( #5237 )
2 years ago
chrislu
025f8eb37b
return dir assign counter
fix https://github.com/seaweedfs/seaweedfs/issues/5231
2 years ago
chrislu
d4e66cc140
return dir assign counter
fix https://github.com/seaweedfs/seaweedfs/issues/5231
2 years ago
chrislu
49fcb48e04
same logic as grpc assign
fix https://github.com/seaweedfs/seaweedfs/issues/5213
2 years ago