Konstantin Lebedev
8fb978d6f6
[volume] requests that were canceled by the client are not an internal server problem(500 => 499) ( #5304 )
10 months 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
10 months ago
Chris Lu
16b4f9d9ab
subscriber find broker leader first
11 months ago
Chris Lu
e27deed4bc
upgrade protoc
11 months ago
Chris Lu
656b78d1af
proxy to broker leader
11 months ago
Chris Lu
90fcde0e26
report EOF error
11 months ago
Chris Lu
07028a4864
minor
11 months ago
Chris Lu
fa72761bb8
fix on finding lock owner
11 months ago
Chris Lu
4dc6681833
proxy requests to lock owner
11 months ago
sxlehua
ffe5f19aa0
Add s3 postpolicy support header ( #5280 )
* Add s3 postpolicy support header
* optimized code
11 months ago
Chris Lu
0d74ac9224
fix divide by zero
11 months ago
Chris Lu
f9131de43f
fix lock TTL
11 months ago
Chris Lu
44b49bec99
less verbose
11 months ago
Chris Lu
56df44845f
fix when two consecutive chunks with the same modified_ts_ns
fix https://github.com/seaweedfs/seaweedfs/issues/5276
11 months ago
Chris Lu
0a12301b3d
avoid too large expiration time
11 months ago
sxlehua
0b49c16361
Adapt S3 POST ContentType ( #5275 )
11 months ago
Chris Lu
1b5ba4190c
avoid timestamp overflow
11 months ago
chrislu
d41792461c
lock returns host and owner
11 months ago
chrislu
d30150dde1
use a short-lived lock
11 months ago
chrislu
c1bb76d709
fix nil error
11 months ago
chrislu
ac50d8a822
re-lock if the lock owner is not found
11 months 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>
11 months 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`
11 months ago
chrislu
0b2e5ddc7c
wait 3 seconds before shutting down publish client, to wait for all messages to be received
11 months ago
chrislu
545d5fbdf6
unused code
11 months ago
chrislu
a507069d19
lock for creating local partition
11 months ago
chrislu
9e6ea80dff
read existing topic conf
11 months ago
chrislu
a297247137
wait for each publish clients
11 months ago
chrislu
b6c5e57c30
read will block if no items
11 months ago
chrislu
0bf5424a2e
adjust visibility
11 months ago
chrislu
dedfd31dfb
refactor
11 months ago
chrislu
cbf750a31f
refactor
11 months ago
chrislu
b51dfe2bff
wait for publishing clients
11 months ago
chrislu
f8c55f101e
clean up
11 months ago
chrislu
d40225ecd2
return the lookup results
11 months ago
chrislu
841fafd0a8
publish to input buffer
currently, the input buffer may not exist when start to publish
11 months ago
chrislu
5dc1362bdc
close the input
11 months ago
chrislu
fa835c9319
Update buffered_queue_test.go
11 months ago
Chris Lu
b6de35cdb2
moved. there are some deadlock. WIP
11 months ago
chrislu
91af1f3069
schedule jobs
11 months ago
Benoît Knecht
f6e39139d8
weed/storage: Fix volume info file permissions ( #5246 )
11 months ago
chrislu
08c5fba825
adds a buffered queue
11 months ago
chrislu
cb50b720fd
Revert "Fix weed fix"
This reverts commit 6c1ce18541
.
11 months ago
Benoît Knecht
1f08010ef0
weed/shell: Cleanup volume balance logic ( #5241 )
11 months ago
Konstantin Lebedev
0f8e76bbd6
fix: clean metric MasterReplicaPlacementMismatch for unregister volume ( #5239 )
11 months ago
Benoît Knecht
a6aee847b9
weed/shell: Fix volume.balance logic ( #5238 )
11 months ago
Konstantin Lebedev
0b71fae2e3
fix: s3tests test_get_object_ifnonematch_good ( #5237 )
11 months ago
chrislu
025f8eb37b
return dir assign counter
fix https://github.com/seaweedfs/seaweedfs/issues/5231
11 months ago
chrislu
d4e66cc140
return dir assign counter
fix https://github.com/seaweedfs/seaweedfs/issues/5231
11 months ago
chrislu
49fcb48e04
same logic as grpc assign
fix https://github.com/seaweedfs/seaweedfs/issues/5213
11 months ago