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

   ## Description
   
   ### Backport
   
   Backport 94b07e08fdaee976c961e4a7bf2f8f6fa1d57d7f (#18236) to dev/1.3.
   
   ### Changes
   
   - Generalize async sink receiver backoff from 
temporary-unavailable/write-reject statuses to every non-success response, 
including nested sub-statuses.
   - Keep SUCCESS_STATUS and REDIRECTION_RECOMMEND as successful responses that 
clear endpoint backoff.
   - Preserve the existing exponential backoff, serialized retry, maximum retry 
duration, and probe behavior.
   - Adapt the updated messages to the inline-message structure used by dev/1.3.
   
   ### Tests
   
   - Cover INTERNAL_SERVER_ERROR to verify that retries for non-memory failures 
are serialized by endpoint backoff.
   - Verified with:
     - `mvn spotless:apply -pl iotdb-core/datanode`
     - `mvn -o -nsu test -Ddevelocity.off=true -pl iotdb-core/datanode 
-Dtest=PipeTransferTrackableHandlerTest -Dsurefire.failIfNoSpecifiedTests=false`
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added or modified unit tests to cover the changed path.
   
   <hr>
   
   ##### Key changed classes
   
   - `IoTDBDataRegionAsyncSink`
   - `PipeTransferTrackableHandler`
   - `PipeTransferTrackableHandlerTest`


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