This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 7260638c2bc branch-2.1: [Fix](session variable) Forward
use_fix_replica to master #46836 (#46857)
7260638c2bc is described below
commit 7260638c2bc9fe694889b6a22bd29f04ebbbc862
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jan 13 14:04:44 2025 +0800
branch-2.1: [Fix](session variable) Forward use_fix_replica to master
#46836 (#46857)
Cherry-picked from #46836
Co-authored-by: zclllyybb <[email protected]>
---
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 f996b538257..7049fc6413d 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
@@ -1599,7 +1599,7 @@ public class SessionVariable implements Serializable,
Writable {
public boolean showUserDefaultRole = false;
// Default value is -1, which means not fix replica
- @VariableMgr.VarAttr(name = USE_FIX_REPLICA)
+ @VariableMgr.VarAttr(name = USE_FIX_REPLICA, needForward = true)
public int useFixReplica = -1;
// This is a debug feature, when we find a backend is not stable(for
example network reasons)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]