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

   ### Description
   Fixes #3349   (issue)
    
   ## What changed
   
   - added `metadata.RemoveService` and `metadata.RemoveSubscribeURL`
   - called local metadata cleanup in `UnRegister` and `UnSubscribe`
   - refreshed local exported metadata revision after provider unregister
   - added tests for unregister/unsubscribe metadata cleanup
   
   ## Why
   
   We already update local application-level metadata on register/subscribe, 
but the unregister/unsubscribe path does not clean it up.
   
   That leaves stale service URLs in local `MetadataInfo`, and the local 
revision can stay behind the actual exported state.
   
   This change keeps the existing flow as-is and only fills in the missing 
local cleanup path.
   
   ### Checklist
   - [x] I confirm the target branch is `develop`
   - [x] Code has passed local testing
   - [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