nic-6443 opened a new pull request, #14254:
URL: https://github.com/apache/apisix/pull/14254

   ### Description
   
   The slow-start readmission test inferred a fresh ramp from the returning 
node's share of 100 sequential requests. A picker rebuilt during that burst 
uses the weight at the new elapsed time, so one traffic count does not identify 
when the ramp began. For example, with configured weights of 100 and a 
20-second ramp, the returning node starts at weight 5. A picker rebuilt 4.25 
seconds later gives it weight 21, which can produce 11 selections in the burst 
and fail the old upper bound of 10.
   
   Keep the Admin API updates, proxy real requests through each node-set 
transition, and check the ramp start recorded for the returning node. Its new 
start must be at or after readmission and within the original ramp window. 
Resuming the old ramp fails the timestamp assertion. The adjacent 
traffic-distribution test continues to cover the effect of the ramp on routing.
   
   ### Checklist
   
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [x] I have added tests corresponding to this change
   - [ ] I have updated the documentation to reflect this change (test-only)
   - [x] I have verified that this change is backward compatible
   


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