Skip to content

fix(pubsub): resolve data race in doProduce#3994

Closed
ngjaying wants to merge 1 commit intolf-edge:masterfrom
ngjaying:fix/pubsub-race
Closed

fix(pubsub): resolve data race in doProduce#3994
ngjaying wants to merge 1 commit intolf-edge:masterfrom
ngjaying:fix/pubsub-race

Conversation

@ngjaying
Copy link
Collaborator

Fix data race in memory pubsub manager where doProduce accessed the pubTopics map without a read lock.

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.90%. Comparing base (bdbe56a) to head (8513189).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3994      +/-   ##
==========================================
- Coverage   71.92%   71.90%   -0.01%     
==========================================
  Files         457      457              
  Lines       52717    52717              
==========================================
- Hits        37913    37906       -7     
- Misses      11877    11887      +10     
+ Partials     2927     2924       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ngjaying ngjaying closed this Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant