branch-2.1: [Fix](session variable) Forward use_fix_replica to master #46836 (#46857)

Cherry-picked from #46836

Co-authored-by: zclllyybb <zhaochangle@selectdb.com>
This commit is contained in:
github-actions[bot]
2025-01-13 14:04:44 +08:00
committed by GitHub
parent eb7fdd5714
commit 7260638c2b

View File

@ -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)