hysuuuu opened a new pull request, #3697:
URL: https://github.com/apache/dubbo-go/pull/3697

   Fixes #3303 
   
   ### Background
   Configuring Polaris route rules without a catch-all fallback crashes the 
dubbo-go consumer with a nil pointer panic. This happens in two places:
   
   - **Startup:** Polaris attempts to filter instances before any RPC `uid` 
exists, rejecting all providers and failing initialization.
   - **Runtime:** If a request misses the configured route rules, the router 
returns an empty list, causing `failfast` (and other cluster invokers) to panic 
on a nil invoker.
   
   ### Changes
   - Disable route filtering during directory initialization.
   - Fall back to all instances in polarisRouter.Route on route miss.
   - Add nil guards to failfast/failsafe/failback cluster


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

Reply via email to