From df712cdec36c1fbd697f92dc2116c7c908b8af85 Mon Sep 17 00:00:00 2001 From: ym0 Date: Tue, 11 Jan 2022 20:49:09 +0800 Subject: [PATCH] Enable auto_refresh_location_cache by default --- src/share/parameter/ob_parameter_seed.ipp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/parameter/ob_parameter_seed.ipp b/src/share/parameter/ob_parameter_seed.ipp index 6815691df..fdff022aa 100644 --- a/src/share/parameter/ob_parameter_seed.ipp +++ b/src/share/parameter/ob_parameter_seed.ipp @@ -838,7 +838,7 @@ DEF_TIME(location_cache_refresh_sql_timeout, OB_CLUSTER_PARAMETER, "1s", "[1ms,) ObParameterAttr(Section::LOCATION_CACHE, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE)); DEF_STR(all_server_list, OB_CLUSTER_PARAMETER, "", "all server addr in cluster", ObParameterAttr(Section::LOCATION_CACHE, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE)); -DEF_BOOL(enable_auto_refresh_location_cache, OB_CLUSTER_PARAMETER, "False", "enable auto refresh location", +DEF_BOOL(enable_auto_refresh_location_cache, OB_CLUSTER_PARAMETER, "True", "enable auto refresh location", ObParameterAttr(Section::LOCATION_CACHE, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE)); DEF_INT(auto_refresh_location_cache_rate_limit, OB_CLUSTER_PARAMETER, "1000", "[1, 100000]", "Maximum number of partitions to refresh location automatically per second", -- GitLab