Skip to content

Commit c50d659

Browse files
committed
2
1 parent 02dd27f commit c50d659

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

fe/fe-core/src/main/java/org/apache/doris/DorisFE.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
import java.nio.channels.FileLock;
6464
import java.nio.channels.OverlappingFileLockException;
6565
import java.nio.file.StandardOpenOption;
66-
6766
import java.util.List;
6867
import java.util.concurrent.TimeUnit;
6968
import java.util.concurrent.atomic.AtomicBoolean;

fe/fe-core/src/main/java/org/apache/doris/httpv2/HttpServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)