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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: When multiple VNodeChannels receive a typed remote failure, 
the writer records only cancel text and later rebuilds an INTERNAL_ERROR after 
the replica failure threshold is crossed. This hides business errors such as 
INVALID_ARGUMENT and makes repeated INSERT OVERWRITE failures report 
inconsistent top-level statuses. Record the first typed Status per tablet and 
propagate it when the failure becomes intolerable, while retaining channel 
context. Add a unit test covering a later generic channel failure not 
overriding the first typed error.
   
   ### Release note
   
   Preserve the original error code and message when tablet writer channel 
failures become intolerable.
   
   ### Check List (For Author)
   
   - Test: Unit test added; not run locally as requested, CI will execute it
   - Behavior changed: Yes (typed remote errors are preserved instead of being 
converted to INTERNAL_ERROR)
   - Does this need documentation: No


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