milvus/pkg/config
wei liu 975a9797a2
enhance: Enable dynamic update loaded collection's replica (#36417)
issue: #35821
pr: #35822
After collection loaded, if we need to increase/decrease collection's
replica, we need to release and load it again.

milvus offers 4 solution to update loaded collection's replica, this PR
aims to dynamic change the replica number without release, and after
replica number changed, milvus will execute load replica or release
replica in async, and the replica loaded status can be checked by
getReplicas API.

Notice that if set too much replicas than querynode can afford,the new
replica won't be loaded successfully until enough querynode joins.

---------

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-09-26 10:43:15 +08:00
..
config_test.go fix: [2.4] Check err is ErrKeyNotFound when CASCachedValue (#34489) 2024-07-09 18:12:13 +08:00
config.go enhance: Cache formatted key for param item (#31388) 2024-03-19 14:05:05 +08:00
env_source.go enhance: [2.4] add the seal segment when dispatch delete msgs (#34566) 2024-07-10 19:18:51 +08:00
etcd_source_test.go fix: use atomic.Pointer to store EventHandler in case of data race (#30205) 2024-01-23 19:09:04 +08:00
etcd_source.go enhance: Enable dynamic update loaded collection's replica (#36417) 2024-09-26 10:43:15 +08:00
event_dispatcher_test.go enhance: Add unittest for config.EventDispatcher (#28552) 2023-11-18 19:12:20 +08:00
event_dispatcher.go enhance: support clean paramtable config event in test (#30534) 2024-02-20 14:16:51 +08:00
event.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
file_source.go fix: [2.4] Check err is ErrKeyNotFound when CASCachedValue (#34489) 2024-07-09 18:12:13 +08:00
manager_test.go fix: [2.4] Check err is ErrKeyNotFound when CASCachedValue (#34489) 2024-07-09 18:12:13 +08:00
manager.go fix: fix dynamic update config doesn't works for some param (#35572) (#35637) 2024-08-22 16:00:58 +08:00
refresher.go enhance: adjust config source for support config event use paramtable (#29995) 2024-01-26 19:07:00 +08:00
source_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
source.go fix: paramtable cache cause dynamic config non-dynamic (#33473) (#33590) 2024-06-05 10:15:51 +08:00