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: 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

Reply via email to