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

   ## Description
   
   Backport #18335 (8d5da83f0dfb33da552606badb2d735d7f21352e) to dev/1.3.
   
   - 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.
   - Add unit coverage for null root-cause messages and preserved cause chains.
   
   The dev/1.3 branch predates the newer master-side Pipe message layer and 
PipeSinkSubtask constructor shape, so the conflict resolution retains the 
existing 1.3 log templates and API shape while applying the diagnostic and 
cause-preservation changes.
   
   ## Verification
   
   - PASS: mvn -o -nsu spotless:apply -pl 
iotdb-core/node-commons,iotdb-core/datanode
   - NOT COMPLETED: mvn -o -nsu -pl iotdb-core/node-commons,iotdb-core/datanode 
-Dtest=PipeSinkSubtaskTest -Dsurefire.failIfNoSpecifiedTests=false test
     - The local JVM failed native memory allocation in node-commons before the 
test executed because system virtual memory was exhausted. CI will validate the 
tests.
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added or modified unit tests to cover the new code paths.


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