014-code opened a new pull request, #16395: URL: https://github.com/apache/dubbo/pull/16395
## What is the purpose of the change Fixes #16130. Condition routing may receive a BitList that contains additional tail invokers. After the router filters the cloned result, AbstractStateRouter intersects the original invokers with the routed result. BitList.and() previously preserved tailList entries even when they were not present in the target result, which could reintroduce filtered invokers and send traffic to non-target instances. This change makes BitList.and() apply true intersection semantics to both origin entries and tail entries. ## Brief changelog - Update BitList.and() to keep only elements present in both lists. - Add BitList regression coverage for tail-list intersection. - Add condition-route regression coverage to ensure filtered tail invokers do not leak into route results. ## Verifying this change - .\mvnw.cmd -pl dubbo-cluster "-Dtest=BitListTest,ConditionStateRouterTest" test -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
