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

   ## Description
   
   ### Back off all receiver retry responses
   
   - Generalize async sink receiver backoff from memory-pressure statuses to 
every non-success response, including nested sub-statuses.
   - Keep SUCCESS_STATUS and REDIRECTION_RECOMMEND as successful responses that 
clear the endpoint backoff.
   - Preserve the existing exponential backoff, serialized retry, maximum retry 
duration, and probe behavior.
   
   ### Naming and messages
   
   - Rename the temporary-unavailable-specific backoff symbols to describe 
generic receiver retries.
   - Update both English and Chinese messages to use the generic retry 
terminology.
   
   ### Tests
   
   - Cover a non-memory retry response with INTERNAL_SERVER_ERROR and verify 
that retries are serialized by the endpoint backoff.
   - Verified with:
     - `mvn spotless:apply -pl iotdb-core/datanode`
     - `mvn test -pl iotdb-core/datanode -am 
-Dtest=PipeTransferTrackableHandlerTest -Dsurefire.failIfNoSpecifiedTests=false`
     - `mvn test-compile -pl iotdb-core/datanode -am -P with-zh-locale 
-DskipTests`
   
   <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`
   - `DataNodePipeMessages` (English and Chinese)


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