milvus/pkg/config
wei liu 3cd0b26285
enhance: Enable dynamic update loaded collection's replica (#35822)
issue: #35821
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-25 10:13:18 +08:00
..
config.go enhance: Cache formatted key for param item (#31388) 2024-03-19 14:05:05 +08:00
config_test.go fix: Check err is ErrKeyNotFound when CASCachedValue (#34488) 2024-07-08 22:00:16 +08:00
env_source.go enhance: add the seal segment when dispatch delete msgs (#34565) 2024-07-10 19:14:51 +08:00
etcd_source.go enhance: Enable dynamic update loaded collection's replica (#35822) 2024-09-25 10:13:18 +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
event.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
event_dispatcher.go enhance: support clean paramtable config event in test (#30534) 2024-02-20 14:16:51 +08:00
event_dispatcher_test.go enhance: Add unittest for `config.EventDispatcher` (#28552) 2023-11-18 19:12:20 +08:00
file_source.go fix: Check err is ErrKeyNotFound when CASCachedValue (#34488) 2024-07-08 22:00:16 +08:00
manager.go fix: fix dynamic update config doesn't works for some param (#35572) 2024-08-21 11:02:56 +08:00
manager_test.go fix: Check err is ErrKeyNotFound when CASCachedValue (#34488) 2024-07-08 22:00:16 +08:00
refresher.go enhance: adjust config source for support config event use paramtable (#29995) 2024-01-26 19:07:00 +08:00
source.go fix: paramtable cache cause dynamic config non-dynamic (#33473) 2024-06-04 11:39:46 +08:00
source_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00