milvus/cmd/components
chyezh 77e123762f
enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320)
1. add coordinator and proxy graceful stop timeout to 5s.
3. add other work node graceful stop timeout to 900s, and we should
potentially change this to 600s when graceful stop is smooth
4. change the order of datacoord component while stop.
5. `LivenessCheck` do not perform graceful shutdown now. 

issue: https://github.com/milvus-io/milvus/issues/30310
pr: #30317
also see: https://github.com/milvus-io/milvus/pull/30306

---------

Signed-off-by: chyezh <chyezh@outlook.com>
2024-01-27 08:45:02 +08:00
..
data_coord.go enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320) 2024-01-27 08:45:02 +08:00
data_node.go enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320) 2024-01-27 08:45:02 +08:00
index_coord.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
index_node.go enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320) 2024-01-27 08:45:02 +08:00
proxy.go enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320) 2024-01-27 08:45:02 +08:00
query_coord.go enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320) 2024-01-27 08:45:02 +08:00
query_node.go enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320) 2024-01-27 08:45:02 +08:00
root_coord.go enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320) 2024-01-27 08:45:02 +08:00
util.go enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320) 2024-01-27 08:45:02 +08:00
util_test.go enhance: add graceful stop timeout to avoid node stop hang under extreme cases (#30320) 2024-01-27 08:45:02 +08:00