This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 4130b8e22e6 branch-3.0: [fix](inverted index) set
ENABLE_ADD_INDEX_FOR_NEW_DATA session var need forward flag to true #53690
(#53728)
4130b8e22e6 is described below
commit 4130b8e22e6d38995f778a7b7b23b0aa02075f6c
Author: airborne12 <[email protected]>
AuthorDate: Wed Jul 23 09:45:35 2025 +0800
branch-3.0: [fix](inverted index) set ENABLE_ADD_INDEX_FOR_NEW_DATA session
var need forward flag to true #53690 (#53728)
cherry pick from #53690
---
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
index 806f23bc8d9..4dcb828dc84 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
@@ -2511,7 +2511,7 @@ public class SessionVariable implements Serializable,
Writable {
return enableSortSpill;
}
- @VariableMgr.VarAttr(name = ENABLE_ADD_INDEX_FOR_NEW_DATA, fuzzy = true,
description = {
+ @VariableMgr.VarAttr(name = ENABLE_ADD_INDEX_FOR_NEW_DATA, needForward =
true, description = {
"是否启用仅对新数据生效的索引添加模式,开启时新建索引只对后续写入的数据生效,关闭时对全部数据重建索引",
"Whether to enable add index mode that only affects new data, "
+ "when enabled new indexes only affect subsequently
written data, "
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]