Caideyipi opened a new pull request, #18335:
URL: https://github.com/apache/iotdb/pull/18335

   ## Description
   
   ### Preserve diagnostic information
   
   - Use `Throwable.toString()` for root-cause reporting so exceptions with a 
null message still include their exception type.
   - Preserve the original throwable as the cause of 
`PipeRuntimeSinkCriticalException` instances.
   - Add cause-aware constructors to the Pipe runtime exception hierarchy.
   
   ### Test coverage
   
   - Add unit coverage for null root-cause messages.
   - Add unit coverage verifying that failure reporting preserves the original 
cause chain.
   
   ### Testing
   
   Not run locally because the machine does not have enough memory; CI will 
validate the change.
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added or modified unit tests to cover the new code paths.
   
   <hr>
   
   ##### Key changed/added classes (or packages if there are too many classes) 
in this PR
   
   - `PipeAbstractSinkSubtask`
   - `PipeSinkSubtask`
   - `PipeRuntimeException` and its critical sink subclasses
   - `PipeSinkSubtaskTest`


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

Reply via email to