Files
milvus/cmd
Zhen YeandGitHub 5438974089 fix: bound streaming release wait (#49625)
issue: #49609
pr: #49624

This bounds `streaming.Release()` with a fixed 5s timeout so shutdown
can return `ErrWALReleaseTimeout` instead of waiting forever when WAL
release is blocked by an in-flight local metrics path.

Validation:
- Attempted: `go test -tags test ./internal/distributed/streaming -run
TestReleaseTimeout -count=1`
- Result on local 2.6 worktree: blocked by local CGO/FFI artifact issue:
`internal/storagev2/packed/ffi_common.go: could not determine what
C.FFIResult refers to`

Signed-off-by: chyezh <chyezh@outlook.com>
2026-05-09 23:22:12 +08:00
..
2021-11-16 15:41:11 +08:00