This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new fdec6723127 branch-3.0: [fix](cloud) Change the executor of the warm
up job from root to admin #51297 (#51345)
fdec6723127 is described below
commit fdec6723127d26e514f2f961a5563a62b1136b89
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri May 30 10:23:01 2025 +0800
branch-3.0: [fix](cloud) Change the executor of the warm up job from root
to admin #51297 (#51345)
Cherry-picked from #51297
Co-authored-by: deardeng <[email protected]>
---
.../main/java/org/apache/doris/cloud/CacheHotspotManagerUtils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/cloud/CacheHotspotManagerUtils.java
b/fe/fe-core/src/main/java/org/apache/doris/cloud/CacheHotspotManagerUtils.java
index 72710debaef..ed2213e1208 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/cloud/CacheHotspotManagerUtils.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/cloud/CacheHotspotManagerUtils.java
@@ -240,8 +240,8 @@ public class CacheHotspotManagerUtils {
TUniqueId queryId = new TUniqueId(uuid.getMostSignificantBits(),
uuid.getLeastSignificantBits());
connectContext.setQueryId(queryId);
connectContext.setStartTime();
- connectContext.setCurrentUserIdentity(UserIdentity.ROOT);
- connectContext.setQualifiedUser(UserIdentity.ROOT.getQualifiedUser());
+ connectContext.setCurrentUserIdentity(UserIdentity.ADMIN);
+ connectContext.setQualifiedUser(UserIdentity.ADMIN.getQualifiedUser());
connectContext.setUserInsertTimeout(getCacheHotSpotInsertTimeoutInSecTimeout());
return new AutoCloseConnectContext(connectContext);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]