v-kkhuang opened a new pull request, #5399:
URL: https://github.com/apache/linkis/pull/5399

   <!--
   Thank you for sending the PR! We appreciate you spending the spending the 
time to work on these changes.
   You can learn more about contributing to Apache Linkis here: 
https://linkis.apache.org/community/how-to-contribute
   Happy contributing!
   -->
   
   ### What is the purpose of the change
   
   **Background/Problem:**
   When SR (Script Resource) tasks are retried, the init_sql loading process 
encounters exceptions. The current implementation does not properly handle the 
retry scenario, causing SQL initialization to fail during task retries.
   
   **Purpose of Change:**
   To address this problem, this PR fixes the init_sql loading logic to 
properly handle task retry scenarios, ensuring that SQL initialization works 
correctly during both initial execution and retries.
   
   **Value/Impact:**
   After the change, SR tasks can be retried without encountering init_sql 
loading exceptions, improving system reliability and task execution success 
rates.
   
   ### Related issues/PRs
   
   Related issues: close #5392
   Related pr:none
   
   ### Brief change log
   
   - Fix init_sql loading exception during SR task retry in ComputationExecutor
   - Update EntranceExecutionJob to handle retry scenario correctly
   - Update QueryPersistenceManager to support proper retry logic
   
   ### Checklist
   
   - [x] I have read the [Contributing Guidelines on pull 
requests](https://linkis.apache.org/community/how-to-contribute).
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [ ] I have added tests corresponding to this change
   - [ ] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible
   - [ ] **If this is a code change**: I have written unit tests to fully 
verify the new behavior.


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