#53900·milvus

[Bug]: StreamingNode panics on WAL replay with "missing storage version for streaming growing segment" after upgrade from v2.5.11 to v3.0.1

Author: silasduduCreated Sep 29, 2026Updated Sep 30, 2026
Labelskind/bugneeds-triage

Is there an existing issue for this?

  • I have searched the existing issues

Environment

markdown
- Milvus version: v3.0.1 (image milvusdb/milvus:v3.0.1). Upgraded from v2.5.11. The same panic path is still present in v3.0.2 and current master.
- Deployment mode(standalone or cluster): cluster (Kubernetes). mixcoord x3, proxy x1, querynode x10, datanode x2, streamingnode x1, etcd x3, MinIO x4.
- MQ type(rocksmq, pulsar or kafka): Pulsar 3.0.7
- SDK version(e.g. pymilvus v2.0.0rc2): N/A. The crash is inside streamingnode WAL replay and is not triggered by a client call.
- OS(Ubuntu or CentOS): Ubuntu 20.04.5 LTS, kernel 5.4.0-208-generic, amd64
- CPU/Memory: node has 16 CPU and ~63 GiB memory. The streamingnode pod is BestEffort and has no CPU/memory request or limit.
- GPU: none
- Others:
  - streamingnode is a single replica and is the only Milvus component not running. proxy, mixcoord, querynode, and datanode on v3.0.1 stay Running.
  - Object storage is MinIO. Metadata store is etcd 3.5.18.
  - This crash loop started only after the upgrade from v2.5.11 to v3.0.1. v2.5.11 did not run this streaming growing-segment storage-version check.

Current Behavior

After the upgrade about 13 days (seems working normly during that days) , streamingnode enters CrashLoopBackOff abruptly yesterday noon. The process aborts with exit code 134 during WAL replay. One pod restarted 243 times in about 21 hours. Panic: panic: missing storage version for streaming growing segment, segmentID=469122827278329750: service internal error Stack: github.com/milvus-io/milvus/internal/flushcommon/pipeline.(*writeNode).Operate internal/flushcommon/pipeline/flow_graph_write_node.go:125 What happens on each restart:

  1. Flusher recovery loads the existing growing segments of my collection hot_news_pool (collectionID 461941256877624494, vchannel by-dev-rootcoord-dml_10_461941256877624494v0). Those segments are present in the DataCoord catalog and their storage_version is 2.
  2. WAL catchup then reads an insert for segment 469122827278329750. That segment is not in the recovered set and not in the DataCoord catalog. This restart never logs a CreateSegment for it before the insert.
  3. bufferInsert / recordGrowingSourceProgress call CreateNewGrowingSegment without setting StorageVersion. The zero value is treated as StorageV1.
  4. resolveNewGrowingSegmentStorageVersion returns an internal error when streaming is enabled, instead of inferring a version. writeNode.Operate panics on that error and kills the process.
  5. The non-streaming branch infers StorageV2 (or StorageV3 when the schema has a TEXT field or common.storage.useLoonFFI is enabled). The streaming branch does not. The insert data is still in the Pulsar WAL. The process dies before flush.

Expected Behavior

No response

Steps To Reproduce

markdown

Milvus Log

milvus-log.tar.gz

Anything else?

No response