mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 09:08:43 +08:00
issue: #45227 pr: #45228 Increase the default session TTL to 30 seconds to tolerate etcd failover time. This prevents session expiration during etcd cluster failover, improving system stability. When etcd undergoes failover (leader election or node restart), the previous 10s TTL was too short to survive the failover window, causing unnecessary session expiration and component restarts. The new 30s TTL provides sufficient buffer for etcd to complete failover while maintaining session liveness. Changes: - Update DefaultSessionTTL constant from 10 to 30 - Update SessionTTL ParamItem DefaultValue from "10" to "30" Signed-off-by: Wei Liu <wei.liu@zilliz.com>