Repository navigation
Highlights
- S3 storage migrated to
aws-sdk-go-v2(#1369, #1373, #1405): S3-compatible providers (aws,s3,minio,aliyun,tencent,hwc) now run onaws-sdk-go-v2instead ofminio-go, closing the silent-success gap for200 OKresponses with embedded S3 errors. Transient retries are consolidated into the SDK retryer (10 attempts, 5s backoff cap), and TLS certificate verification errors fail fast instead of retrying. - Restore resume (Alpha) (#1401): Large restores can opt in via
enableResumeand resume failed runs by task ID (CLI and REST), covering collection DDL, gRPC/REST imports, snapshot restores, and secondary/2PC restores. Optional local or S3 state persistence (with AES-256-GCM encryption) and explicit staging cleanup are also supported. - Snapshot & secondary restore enhancements (#1390, #1397, #1382): Added two-phase commit (2PC) support for snapshot imports with secondaries (
import_snap),--snapshot_source=own_bucket/snapshot_sourcefor split-bucket deployments without sending bucket credentials over the WAL/CDC stream, and per-secondary authentication tokens.
Breaking Changes & Upgrade Notes
- Secondary authentication interface changed (#1382):
- CLI:
--secondariesis replaced by the repeatable--secondary address[,token]flag (e.g.--secondary http://10.0.0.2:19530,user:password). - REST:
secondarieschanged from a string array (["http://..."]) to an array of objects ([{"address": "http://...", "token": "..."}]). Whentokenis omitted, the target's user/password is inherited.
- CLI:
- Stricter field ID check during binlog restore (#1388): Replaces the earlier backup-side refusal (#1341). Binlog restores now reject targets that cannot reproduce the backup's field IDs (for example after historical column drops/re-adds), preventing silent column misalignment.
restore_snap,meta_only, and empty collections are unaffected. - Empty S3
regionauto-resolution (#1369): Whenregionis left empty on S3-compatible providers, client initialization now queriesGetBucketLocationover the network to resolve it.
Other Improvements & Fixes
Storage & Cloud Providers
- Azure SAS: Convert signing timestamps to UTC for Account SAS, User Delegation SAS, and cross-account source SAS, fixing tokens starting in the future on non-UTC hosts (#1419).
- Aliyun RRSA / OIDC: Explicitly select
oidc_role_arnwhen RRSA env vars are set (without static keys) so transient STS errors do not latch ontoecs_ram_rolefallback (#1410). - Credential diagnostics: Log storage
provider,auth_type, and Aliyun credential provider state transitions without exposing secrets (#1415). - Migrate: Fix a data race in the volume credential cache under concurrent refreshes (#1400).
Restore, Backup & Client
- Struct & nested array schema fidelity: Preserve
element_nullableandtype_schemaon visible fields and struct sub-fields across backup and restore (#1392). - Secondary CDC & Storage V3: Record collection
schema_versionin backup metadata and pass it in secondary broadcasts (#1380); send only the user schema in secondary import messages to avoid duplicate system-field errors on Storage V3 / loonFFI targets (#1384). - Server version detection: Recover the Milvus release version from anywhere in custom build tags (e.g.
poc_2.6.17-...), preventing 2.6 builds from being misidentified as dev builds (#1377).
Build & Release
- Release tarballs and Docker images now float on the latest Go
1.26.xpatch release (check-latest: true/golang:1.26) to pick up Go security fixes automatically (#1420).
Contributors
Thanks to @alohaha22 for contributing Restore Resume (#1401).
Full Changelog: v0.6.2...v0.6.3