freemandealer commented on code in PR #28666:
URL: https://github.com/apache/doris/pull/28666#discussion_r1433467216
##########
fe/fe-core/src/main/java/org/apache/doris/load/loadv2/LoadLoadingTask.java:
##########
@@ -151,22 +151,22 @@ private void executeOnce() throws Exception {
* here we use exec_mem_limit to directly override the load_mem_limit
property.
*/
curCoordinator.setLoadMemLimit(execMemLimit);
- curCoordinator.setTimeout((int) (getLeftTimeMs() / 1000));
+
+ int timeoutS = (int) (getLeftTimeMs() / 1000);
Review Comment:
int 999 / 1000 = 0 in c++. It will have no chance to retry then even if it
has 999ms left.
--
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]