deardeng opened a new pull request, #43766: URL: https://github.com/apache/doris/pull/43766
### What problem does this PR solve? due to #42504, replay thread will check default compute group auth, if failed will throw exception, lead to fe can't start ``` 2024-11-12 06:49:46,432 ERROR (stateListener|14) [EditLog.loadJournal():1248] replay Operation Type 69, log id: 1124 org.apache.doris.cloud.qe.ComputeGroupException: errCode = 2, detailMessage = set default compute group failed, user regression_test_cloud_user2 has no permission to use compute group 'smoke_test_cluster_01', please grant use privilege first , ComputeGroupException: CURRENT_USER_NO_AUTH_TO_USE_COMPUTE_GROUP, you canuse SQL `GRANT USAGE_PRIV ON COMPUTE GROUP {compute_group_name} TO {user}` at org.apache.doris.mysql.privilege.UserProperty.checkCloudDefaultCluster(UserProperty.java:398) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.mysql.privilege.UserProperty.update(UserProperty.java:263) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.mysql.privilege.UserPropertyMgr.updateUserProperty(UserPropertyMgr.java:91) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.mysql.privilege.Auth.updateUserPropertyInternal(Auth.java:1084) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.mysql.privilege.Auth.replayUpdateUserProperty(Auth.java:1077) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.persist.EditLog.loadJournal(EditLog.java:505) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.catalog.Env.replayJournal(Env.java:2962) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.catalog.Env.transferToMaster(Env.java:1552) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.catalog.Env.access$1200(Env.java:345) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.catalog.Env$5.runOneCycle(Env.java:2841) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.common.util.Daemon.run(Daemon.java:116) ~[doris-fe.jar:1.2-SNAPSHOT] ``` fix: ignore check default compute group auth when isReplay eq true Issue Number: close #xxx Related PR: #42504 Problem Summary: ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [x] Regression test - [ ] Unit Test - [x] 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: - [x] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [x] 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 --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org