Skip to content

v0.6.3

Latest

Choose a tag to compare

@zhuwenxing zhuwenxing released this 02 Dec 09:54
· 12 commits to main since this release
5f83a67

Highlights

  • S3 storage migrated to aws-sdk-go-v2 (#1369, #1373, #1405): S3-compatible providers (aws, s3, minio, aliyun, tencent, hwc) now run on aws-sdk-go-v2 instead of minio-go, closing the silent-success gap for 200 OK responses 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 enableResume and 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_source for 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: --secondaries is replaced by the repeatable --secondary address[,token] flag (e.g. --secondary http://10.0.0.2:19530,user:password).
    • REST: secondaries changed from a string array (["http://..."]) to an array of objects ([{"address": "http://...", "token": "..."}]). When token is omitted, the target's user/password is inherited.
  • 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 region auto-resolution (#1369): When region is left empty on S3-compatible providers, client initialization now queries GetBucketLocation over 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_arn when RRSA env vars are set (without static keys) so transient STS errors do not latch onto ecs_ram_role fallback (#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_nullable and type_schema on visible fields and struct sub-fields across backup and restore (#1392).
  • Secondary CDC & Storage V3: Record collection schema_version in 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.x patch 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