Mryange opened a new pull request, #71257:
URL: https://github.com/apache/doris/pull/71257

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #66767
   
   Manual backport of #66767 to branch-4.2. This PR supersedes the conflicting 
automatic backport #70328.
   
   Problem Summary: FE could broadcast FINISHED cleanup while a backend was
   still waiting for its phase-two start RPC, removing its query context and
   causing the start RPC to fail.
   
   Details: Send FINISHED once both execution and dispatch have completed.
   When a deadline expires after fragment RPC submission, record the error
   and cancel the coordinator. Preserve the 4.2 predispatch status guard
   and its tests, and stub the new timeout case's initial status as OK so
   it reaches RPC submission.
   
   ### Release note
   
   Fixed a race that could cause an INSERT SELECT to fail while starting
   query fragments.
   
   ### Testing
   
   Checkstyle 9.3 and git diff --check passed for the five affected Java files.
   FE compilation and unit tests were not run.
   
   Pre-submission status: Partially verified: FE compilation and unit tests 
pending.
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test
   
   - Behavior changed:
       - [ ] No.
       - [x] Yes. FINISHED cleanup waits for dispatch completion.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


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