Skip to content

Commit bffee1a

Browse files
authored
branch-3.1: [fix](inverted index) set ENABLE_ADD_INDEX_FOR_NEW_DATA session var need forward flag to true #53690 (#53727)
cherry pick from #53690
1 parent d970b08 commit bffee1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2594,7 +2594,7 @@ public boolean isEnableSortSpill() {
25942594
return enableSortSpill;
25952595
}
25962596

2597-
@VariableMgr.VarAttr(name = ENABLE_ADD_INDEX_FOR_NEW_DATA, fuzzy = true, description = {
2597+
@VariableMgr.VarAttr(name = ENABLE_ADD_INDEX_FOR_NEW_DATA, needForward = true, description = {
25982598
"是否启用仅对新数据生效的索引添加模式,开启时新建索引只对后续写入的数据生效,关闭时对全部数据重建索引",
25992599
"Whether to enable add index mode that only affects new data, "
26002600
+ "when enabled new indexes only affect subsequently written data, "

0 commit comments

Comments
 (0)