This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/develop by this push:
     new b16295c02 fix: Fix incorrect index usage in blacklist refresh logic 
(#2919)
b16295c02 is described below

commit b16295c02e6adfe6aa464d4fa256f34901c8c00f
Author: liushiqi1001 <[email protected]>
AuthorDate: Sun Jun 22 18:23:09 2025 +0800

    fix: Fix incorrect index usage in blacklist refresh logic (#2919)
    
    * fix: Fix incorrect index usage in blacklist refresh logic
    
    Signed-off-by: shiqi <[email protected]>
    
    * fix: Update module path for fork compatibility
    
    Signed-off-by: shiqi <[email protected]>
    
    * Update go.mod
    
    ---------
    
    Signed-off-by: shiqi <[email protected]>
    Co-authored-by: shiqi <[email protected]>
---
 protocol/base/rpc_status.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/protocol/base/rpc_status.go b/protocol/base/rpc_status.go
index 418aadb1f..470c1eee5 100644
--- a/protocol/base/rpc_status.go
+++ b/protocol/base/rpc_status.go
@@ -266,7 +266,7 @@ func TryRefreshBlackList() {
                                defer wg.Done()
                                for j := range ivks {
                                        if j%3-i == 0 && ivks[j].IsAvailable() {
-                                               
RemoveInvokerUnhealthyStatus(ivks[i])
+                                               
RemoveInvokerUnhealthyStatus(ivks[j])
                                        }
                                }
                        }(ivks, i)

Reply via email to