branch-2.1: [fix](session var) add need forward for batch_size #46871 (#46894)

Cherry-picked from #46871

Co-authored-by: qiye <luen@selectdb.com>
This commit is contained in:
github-actions[bot]
2025-01-13 21:41:42 +08:00
committed by GitHub
parent 60ea8ed58d
commit f4b5327ec7

View File

@ -903,7 +903,7 @@ public class SessionVariable implements Serializable, Writable {
public boolean haveQueryCache = false;
// 4096 minus 16 + 16 bytes padding that in padding pod array
@VariableMgr.VarAttr(name = BATCH_SIZE, fuzzy = true, checker = "checkBatchSize")
@VariableMgr.VarAttr(name = BATCH_SIZE, fuzzy = true, checker = "checkBatchSize", needForward = true)
public int batchSize = 4064;
@VariableMgr.VarAttr(name = DISABLE_STREAMING_PREAGGREGATIONS, fuzzy = true)