Gabriel39 commented on code in PR #66227:
URL: https://github.com/apache/doris/pull/66227#discussion_r4132699993


##########
fe/fe-core/src/main/java/org/apache/doris/common/profile/Profile.java:
##########
@@ -668,6 +715,7 @@ public void writeToStorage(String systemProfileStorageDir) {
             DataOutputStream memoryDataStream = new 
DataOutputStream(memoryStream);
 
             // Write summary profile and execution profile content to memory
+            updateProfileCompletionStateForStorage();

Review Comment:
   Fixed in 9264715df03. Storage now freezes its terminal completion state 
before serialization; the synchronized state update prevents a concurrent 
renderer from replacing INCOMPLETE with COLLECTING before path publication. 
Failed writes release the frozen state so later reports and retries remain 
valid. Added deterministic rendering interleavings both before serialization 
and before path publication, plus failed-write/retry coverage. All 169 
focused/existing FE tests and both full Paimon regression suites passed locally 
before pushing.



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