You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "solisamicus (via GitHub)" <gi...@apache.org> on 2024/12/23 11:36:17 UTC
[PR] Fix: CacheListener to use thread-safe ListenerSet for managing listeners [dubbo-go]
solisamicus opened a new pull request, #2769:
URL: https://github.com/apache/dubbo-go/pull/2769
**What this PR does**:
- Replaces the `map[registry.MappingListener]struct{}` with a thread-safe `ListenerSet` for managing listeners.
- Ensures safe concurrent access by using `sync.RWMutex` in the `ListenerSet`.
**Which issue(s) this PR fixes**:
Fixes #2759
**Special notes for your reviewer**:
- This refactor improves thread safety but may require additional performance testing to ensure there is no negative impact on listener management.
- No change in external functionality, this is an internal improvement.
**Does this PR introduce a user-facing change?**:
```release-note
NONE
```
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] Fix: CacheListener to use thread-safe ListenerSet for managing listeners [dubbo-go]
Posted by "AlexStocks (via GitHub)" <gi...@apache.org>.
AlexStocks merged PR #2769:
URL: https://github.com/apache/dubbo-go/pull/2769
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] Fix: CacheListener to use thread-safe ListenerSet for managing listeners [dubbo-go]
Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #2769:
URL: https://github.com/apache/dubbo-go/pull/2769#issuecomment-2559524868
## [](https://sonarcloud.io/dashboard?id=apache_dubbo-go&pullRequest=2769) **Quality Gate passed**
Issues
 [23 New issues](https://sonarcloud.io/project/issues?id=apache_dubbo-go&pullRequest=2769&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_dubbo-go&pullRequest=2769&issueStatuses=ACCEPTED)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_dubbo-go&pullRequest=2769&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-go&pullRequest=2769&metric=new_coverage&view=list)
 [4.6% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-go&pullRequest=2769&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_dubbo-go&pullRequest=2769)
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org