Skip to content

test: survive the mochi 2.7.9 deadlock at broker close - #10

Merged
boeboe merged 1 commit into
mainfrom
fix/broker-close
Oct 31, 2026
Merged

boeboe merged 1 commit into
mainfrom
fix/broker-close

Conversation

@boeboe

@boeboe boeboe commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

GetByListener takes the read lock twice, so Close deadlocks when a client's Delete waits between. Close now runs with a 2s bound. Same fix as sparkplugbctl.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@boeboe
boeboe merged commit bc40ed3 into main Oct 31, 2026
21 checks passed
@boeboe
boeboe deleted the fix/broker-close branch October 31, 2026 14:59
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