Fixed deadlock between MessageCommitter/SessionBase#666
Conversation
|
@alex268 Please set up your personal token, see instructions: https://nda.ya.ru/t/dur-L1y77biDC2 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #666 +/- ##
============================================
- Coverage 71.61% 71.59% -0.03%
Complexity 3426 3426
============================================
Files 386 386
Lines 16066 16071 +5
Branches 1687 1688 +1
============================================
Hits 11506 11506
- Misses 3904 3909 +5
Partials 656 656 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR aims to eliminate a deadlock between MessageCommitterImpl and the underlying session (via SessionBase) by changing the ordering of the commit request vs. internal commit-future bookkeeping.
Changes:
- Moves
commitOffsets(...)invocation outside ofcommitFuturesLockinMessageCommitterImpl.commit(...). - Simplifies the commit path by removing the conditional insertion into
commitFuturesunder the lock.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
AI Review SummaryVerdict: ✅ No critical issues found Critical issuesNo critical issues found. Other findings
This review was generated automatically. Critical issues require attention; other findings are advisory. |
|
Analysis performed by claude, claude-opus-4-6. |
No description provided.