This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 920930ac3a6 [bugfix](profile) forward profile level to master (#68382)
920930ac3a6 is described below
commit 920930ac3a65f906743221a612a4c9aa1045c19b
Author: yiguolei <[email protected]>
AuthorDate: Wed Sep 23 10:25:39 2026 +0800
[bugfix](profile) forward profile level to master (#68382)
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
When use set profile level on follower FE and then send insert into
select stmt to follower, it will be forward to master FE, and profile
level is lost.
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
---
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 9e40aa4869c..c0c995e4817 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
@@ -1481,7 +1481,7 @@ public class SessionVariable implements Serializable,
Writable {
description = "Use consistent hashing to split the appearance for
external scan")
public boolean useConsistentHashForExternalScan = false;
- @VarAttrDef.VarAttr(name = PROFILE_LEVEL, fuzzy = false,
+ @VarAttrDef.VarAttr(name = PROFILE_LEVEL, fuzzy = false, needForward =
true,
setter = "setProfileLevel", checker = "checkProfileLevel",
description = "The level of query profile, "
+ "1 means only collect Counter of MergedProfile, 2 means
print detailed information,"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]