milvus/pkg/proto
yihao.dai cc792486a8
feat: Support force promote for primary-secondary failover (#47352)
Add force_promote flag to UpdateReplicateConfiguration API for disaster
recovery.

Changes:

- Add ForcePromote field to UpdateReplicateConfigurationRequest

- Refactor UpdateReplicateConfiguration to accept request object instead
of separate params

- Add WithForcePromote() method to ReplicateConfigurationBuilder

- Implement force promote validation and handling in assignment service

- Add integration tests for force promote scenarios

Force promote allows a secondary cluster to immediately become
standalone primary

when the original primary is unavailable, enabling active-passive
failover.

issue: https://github.com/milvus-io/milvus/issues/47351

design doc:
https://github.com/milvus-io/milvus-design-docs/blob/main/design_docs/20260202-force_promote_failover.md

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: Yihao Dai <yihao.dai@zilliz.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-20 16:09:28 +08:00
..
cgopb fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
clusteringpb fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
datapb fix: Optimize namespace compaction and query implementation (#46512) 2026-03-09 21:11:23 +08:00
etcdpb fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
indexcgopb enhance: add async warmup policy support for caching layer (#47627) 2026-03-10 14:45:23 +08:00
indexpb fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
internalpb feat: impl StructArray -- support element-level query (#47906) 2026-03-13 17:55:29 +08:00
messagespb feat: Support force promote for primary-secondary failover (#47352) 2026-03-20 16:09:28 +08:00
modelservicepb fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
planpb feat: add segcore ORDER BY support for query (#48125) 2026-03-17 11:39:26 +08:00
proxypb fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
querypb fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
rootcoordpb fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
segcorepb feat: impl StructArray -- support element-level query (#47906) 2026-03-13 17:55:29 +08:00
storagev2pb
streamingpb feat: Support force promote for primary-secondary failover (#47352) 2026-03-20 16:09:28 +08:00
workerpb fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
OWNERS
cgo_msg.proto enhance: proto change for bumping the scalar index version (#47215) 2026-01-27 17:21:33 +08:00
clustering.proto enhance: support configurable TLS minimum version for object storage connections (#48000) 2026-03-04 19:45:21 +08:00
data_coord.proto fix: Optimize namespace compaction and query implementation (#46512) 2026-03-09 21:11:23 +08:00
etcd_meta.proto
index_cgo_msg.proto enhance: add async warmup policy support for caching layer (#47627) 2026-03-10 14:45:23 +08:00
index_coord.proto enhance: support configurable TLS minimum version for object storage connections (#48000) 2026-03-04 19:45:21 +08:00
internal.proto feat: impl StructArray -- support element-level query (#47906) 2026-03-13 17:55:29 +08:00
messages.proto feat: Support force promote for primary-secondary failover (#47352) 2026-03-20 16:09:28 +08:00
model_service.proto feat: Add highlight scores (#47017) 2026-01-14 10:45:27 +08:00
plan.proto feat: add segcore ORDER BY support for query (#48125) 2026-03-17 11:39:26 +08:00
proxy.proto feat: implement KMS key revocation deny read/write (#45936) 2026-01-13 11:43:28 +08:00
query_coord.proto feat: part1 for add field backfill(#44444) (#46808) 2026-02-05 19:19:52 +08:00
root_coord.proto feat: part1 for add field backfill(#44444) (#46808) 2026-02-05 19:19:52 +08:00
segcore.proto feat: impl StructArray -- support element-level query (#47906) 2026-03-13 17:55:29 +08:00
streaming.proto feat: Support force promote for primary-secondary failover (#47352) 2026-03-20 16:09:28 +08:00
worker.proto enhance: proto change for bumping the scalar index version (#47215) 2026-01-27 17:21:33 +08:00