From 905c3b81dd621a23761f10a53fc3a4b960383137 Mon Sep 17 00:00:00 2001
From: Gao <chao.gao@zilliz.com>
Date: Mon, 20 Jan 2025 20:39:04 +0800
Subject: [PATCH] enhance: set materializedView.enabled default to true
 (#39449)

Signed-off-by: chasingegg <chao.gao@zilliz.com>
---
 pkg/util/paramtable/component_param.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/util/paramtable/component_param.go b/pkg/util/paramtable/component_param.go
index dea773b45b71f..e7ba138aa0571 100644
--- a/pkg/util/paramtable/component_param.go
+++ b/pkg/util/paramtable/component_param.go
@@ -517,7 +517,7 @@ This configuration is only used by querynode and indexnode, it selects CPU instr
 	p.EnableMaterializedView = ParamItem{
 		Key:          "common.materializedView.enabled",
 		Version:      "2.4.6",
-		DefaultValue: "false",
+		DefaultValue: "true", // 2.5.4 version becomes default true
 	}
 	p.EnableMaterializedView.Init(base.mgr)