SaintBacchus commented on code in PR #17233:
URL: https://github.com/apache/doris/pull/17233#discussion_r1127304501


##########
fe/fe-core/src/main/java/org/apache/doris/load/loadv2/MysqlLoadManager.java:
##########
@@ -91,10 +143,51 @@ public LoadJobRowResult 
executeMySqlLoadJobFromStmt(ConnectContext context, Load
                     
loadResult.incSkipped(result.get("NumberFilteredRows").getAsInt());
                 }
             }
+        } catch (Throwable t) {
+            LOG.error("Execute mysql load failed", t);
+            // drain the data from client conn util empty packet received, 
otherwise the connection will be reset

Review Comment:
   Only mysql load will continuous send bytes. Other sql will send query at 
beginning



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to