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

   ## Description
   
   Backport #18853 (commit 1b290ae320c56ee7b2693564dd9cb98bdef80c74) to 
`dev/1.3`.
   
   The default eviction sweep checks only three idle clients, which can retain 
expired connections and their RPC buffers for hours in large pools. Check all 
idle clients in each sweep and reduce the default eviction interval from one 
minute to 30 seconds.
   
   `dev/1.3` does not have the RPC buffer memory accounting APIs used by the 
original tests. Adapt the regression tests to its existing transport APIs, 
covering eviction across nodes, background eviction, preservation of borrowed 
and unexpired clients, and closure of both ends of a connection with 
compression enabled and disabled.
   
   ## Validation
   
   - `mvn spotless:apply -pl iotdb-core/node-commons`
   - `mvn "-Ddevelocity.off=true" -pl iotdb-core/node-commons -am 
"-Dtest=ClientPoolIdleEvictionTest" "-Dsurefire.failIfNoSpecifiedTests=false" 
test` — all 21 reactor modules succeeded; 8 tests passed, with no failures or 
skips.
   - `git diff --check`
   


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