liushiqi1001 opened a new pull request, #2917: URL: https://github.com/apache/dubbo-go/pull/2917
The TryRefreshBlackList function had a critical bug where it would check the availability of invoker at index j but incorrectly remove the invoker at index i, leading to wrong invokers being removed from the blacklist. This caused frequent and incorrect blacklist operations, resulting in excessive INFO logging and unstable service behavior. Changes: - Fix incorrect index usage: RemoveInvokerUnhealthyStatus(ivks[i]) -> RemoveInvokerUnhealthyStatus(ivks[j]) - Optimize import structure for better readability This ensures the blacklist refresh mechanism works correctly by removing the actual invoker that was checked and found to be available. Fixes: #XXXX -- 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]
