github-actions[bot] commented on code in PR #62331:
URL: https://github.com/apache/doris/pull/62331#discussion_r3083530178


##########
fe/fe-core/src/main/java/org/apache/doris/load/loadv2/InsertLoadJob.java:
##########
@@ -91,6 +97,9 @@ public void setJobProperties(long transactionId, long 
tableId, long createTimest
         this.loadingStatus.setTrackingUrl(trackingUrl);
         this.loadingStatus.setFirstErrorMsg(firstErrorMsg);
         this.userInfo = userInfo;
+        // Snapshot the current loadStatistic so it survives FE restarts.
+        // loadStatistic itself is not annotated with @SerializedName and 
won't be persisted.

Review Comment:
   This snapshot only helps if the finished `InsertLoadJob` is later written to 
the edit log. That still does not happen when `enable_nereids_load=true`: 
`OlapInsertExecutor.afterExec()` and `RemoteOlapInsertExecutor.afterExec()` 
both still guard `recordFinishedLoadJob(...)` behind 
`!Config.enable_nereids_load`, so the Nereids-created `InsertLoadJob` remains 
memory-only. In that scenario an FE restart still loses the `SHOW LOAD` job 
details, and the new regression test does not catch it because the config 
default is `false`.



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