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


##########
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 `LoadManager.recordFinishedLoadJob(...)` is 
actually reached. In the current tree, both `OlapInsertExecutor.afterExec()` 
and `RemoteOlapInsertExecutor.afterExec()` still guard that call with 
`!Config.enable_nereids_load`, so when `enable_nereids_load=true` the finished 
insert job is never journaled and `jobDetailsJson` is never persisted. That 
means the restart regression still reproduces on that configuration, and this 
new test will not catch it because it runs with the default config.



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