You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Chris Lu
1484de0922
production readiness: TLS, disk monitoring, scrubbing, stats, and integration tests
Sprint 1-3 features:
- TLS/HTTPS support via rustls + tokio-rustls (HTTP) and tonic ServerTlsConfig (gRPC)
- MinFreeSpace enforcement with background disk monitor (libc::statvfs, 60s interval)
- Volume scrubbing: CRC checksum verification of all needles
- VolumeMarkReadonly triggers immediate heartbeat to master
- File size limit enforcement on upload
- Custom timestamps via ?ts= query param
- Healthz returns 503 when not heartbeating to master
- preStopSeconds graceful drain before shutdown
- S3 response passthrough headers (content-encoding, expires, content-language)
- .vif persistence for readonly state across restarts
- Webp image support for resize
- MIME type extraction from Content-Type header
- Stats endpoints (/stats/counter, /stats/memory, /stats/disk) with Go-compatible format
- JSON pretty print (?pretty=y) and JSONP (?callback=fn)
- Request ID generation (UUID if x-amz-request-id missing)
- Advanced Prometheus metrics (INFLIGHT_REQUESTS, VOLUME_FILE_COUNT gauges)
Integration tests: 12 new tests (7 HTTP, 5 gRPC) covering stats, JSONP,
custom timestamps, request IDs, S3 headers, large files, content-type,
scrub verification, disk stats, blob/meta round-trip, batch delete.
CI fix: skip known-unfixable tests (CONNECT parity, Go-only volume move),
fix TestRustStatusEndpoint field name case.
|
6 days ago |
| .. |
|
framework
|
production readiness: TLS, disk monitoring, scrubbing, stats, and integration tests
|
6 days ago |
|
grpc
|
production readiness: TLS, disk monitoring, scrubbing, stats, and integration tests
|
6 days ago |
|
http
|
production readiness: TLS, disk monitoring, scrubbing, stats, and integration tests
|
6 days ago |
|
matrix
|
Add volume server integration test suite and CI workflow (#8322)
|
4 weeks ago |
|
merge
|
Adds volume.merge command with deduplication and disk-based backend (#8441)
|
2 weeks ago |
|
rust
|
production readiness: TLS, disk monitoring, scrubbing, stats, and integration tests
|
6 days ago |
|
DEV_PLAN.md
|
Add volume server integration test suite and CI workflow (#8322)
|
4 weeks ago |
|
Makefile
|
Add volume server integration test suite and CI workflow (#8322)
|
4 weeks ago |
|
README.md
|
Add volume server integration test suite and CI workflow (#8322)
|
4 weeks ago |
Volume Server Integration Tests
This package contains integration tests for SeaweedFS volume server HTTP and gRPC APIs.
Run Tests
Run tests from repo root:
go test ./test/volume_server/... -v
If a weed binary is not found, the harness will build one automatically.
Optional environment variables
WEED_BINARY: explicit path to the weed executable (disables auto-build).
VOLUME_SERVER_IT_KEEP_LOGS=1: keep temporary test directories and process logs.
Current scope (Phase 0)
- Shared cluster/framework utilities
- Matrix profile definitions
- Initial HTTP admin endpoint checks
- Initial gRPC state/status checks
More API coverage is tracked in /Users/chris/dev/seaweedfs2/test/volume_server/DEV_PLAN.md.