milvus/pkg/config
congqixia f076898761
fix: Return io error other than `NotExist` refreshing config (#38924)
Related to #38923

This PR:

- Check whether `os.Stat` config file error is io.ErrNotExist
- Panic when get config return error during Milvus initialization

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-01-08 12:00:56 +08:00
..
config.go fix: Return io error other than `NotExist` refreshing config (#38924) 2025-01-08 12:00:56 +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: refine exists log print with ctx (#38080) 2024-12-14 22:36:44 +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: Return io error other than `NotExist` refreshing config (#38924) 2025-01-08 12:00:56 +08:00
file_source_test.go fix: Skip EOF error when default empty yaml file (#37445) 2024-11-05 19:26:24 +08:00
manager.go fix: Store default value if `ErrKeyNotFound` is returned (#37691) 2024-11-15 10:24:32 +08:00
manager_test.go fix: Return io error other than `NotExist` refreshing config (#38924) 2025-01-08 12:00:56 +08:00
refresher.go fix: Return io error other than `NotExist` refreshing config (#38924) 2025-01-08 12:00:56 +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