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

   ### Description
   
   Refs #3768 and #3769.
   
   Deleting a Nacos routing rule leaves the old rule active in Go. Nacos SDK 
v2.2.5 treats the missing-config response as a failed query and does not call 
the listener, so the Go driver never emits its deletion event.
   
   Upgrade the SDK to v2.3.5, which delivers this callback. Add an opt-in 
real-server regression that first receives an update, then deletes the 
configuration and waits for `EventTypeDel`. The same test fails with v2.2.5 and 
passes with v2.3.5 against Nacos 2.5.2.
   
   Validation: `make fmt`, `make test` (root and CLI), Nacos/registry/metadata 
package tests, and Nacos lint pass. The real-server regression passes with 
`DUBBO_GO_NACOS_DELETE_ADDR=127.0.0.1:18848 go test -count=1 
./config_center/nacos -run TestNacosRuleDeletion`. Condition/tag routing also 
passed real deletion and RPC checks with this SDK.
   
   ### Checklist
   - [x] I confirm the target branch is `develop`
   - [x] I have run `make fmt` to format my code
   - [x] I have run `make test` to run local tests
   - [x] I have added tests that prove my fix is effective or that my feature 
works
   


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