File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
fe/fe-core/src/main/java/org/apache/doris Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 6363import java .nio .channels .FileLock ;
6464import java .nio .channels .OverlappingFileLockException ;
6565import java .nio .file .StandardOpenOption ;
66-
6766import java .util .List ;
6867import java .util .concurrent .TimeUnit ;
6968import java .util .concurrent .atomic .AtomicBoolean ;
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ public void start() {
189189 .properties (properties )
190190 .registerShutdownHook (false )
191191 .run (new String []{});
192- }
192+ }
193193
194194 /**
195195 * Explicitly shutdown the HTTP server.
Original file line number Diff line number Diff line change @@ -1182,7 +1182,7 @@ public void executeByLegacy(TUniqueId queryId) throws Exception {
11821182 throw e ;
11831183 } catch (UserException e ) {
11841184 // insert into select
1185- if (Config .isCloudMode () && e .getMessage (). contains ( FeConstants . CLOUD_RETRY_E230 )) {
1185+ if (Config .isCloudMode () && SystemInfoService . needRetryWithReplan ( e .getMessage ())) {
11861186 throw e ;
11871187 }
11881188 // analysis exception only print message, not print the stack
@@ -2533,7 +2533,7 @@ private void handleInsertStmt() throws Exception {
25332533 }
25342534
25352535 // cloud mode, insert into select meet -230, retry
2536- if (Config .isCloudMode () && t .getMessage (). contains ( FeConstants . CLOUD_RETRY_E230 )) {
2536+ if (Config .isCloudMode () && SystemInfoService . needRetryWithReplan ( t .getMessage ())) {
25372537 LOG .warn ("insert into select meet E-230, retry again" );
25382538 resetAnalyzerAndStmt ();
25392539 if (insertStmt instanceof NativeInsertStmt ) {
You can’t perform that action at this time.
0 commit comments