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

   ### Description
   
   Fixes #3366.
   
   This PR fills the missing etcdv3 registry subscription lifecycle behavior:
   
   - implements `DoUnregister` by deleting the registered etcd key after 
validating the client
   - replaces the single shared config listener with per-service subscribed 
listeners
   - implements `DoUnsubscribe` by closing and removing the service listener
   - preserves active subscriptions when listeners are reinitialized after 
client restart
   - dispatches data changes to every matching subscribed service key
   
   ### Validation
   
   - `go test ./registry/etcdv3`
   - `gofmt` on touched files
   - `git diff --check`
   
   ### Checklist
   
   - [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