Skip to content

[ISSUE #10247] Remove duplicate remove call in InvocationChannel#10359

Open
H145608 wants to merge 1 commit into
apache:developfrom
H145608:fix-heartbeat-vip-channel
Open

[ISSUE #10247] Remove duplicate remove call in InvocationChannel#10359
H145608 wants to merge 1 commit into
apache:developfrom
H145608:fix-heartbeat-vip-channel

Conversation

@H145608
Copy link
Copy Markdown

@H145608 H145608 commented May 20, 2026

Remove redundant second inFlightRequestMap.remove() call in writeAndFlush(). The remove was already called once at line 41 to retrieve the context. The duplicate remove at line 46 had no effect and was unnecessary.

Fixes: #10247

Which Issue(s) This PR Fixes

  • Fixes #issue_id

Brief Description

How Did You Test This Change?

Remove redundant second inFlightRequestMap.remove() call in writeAndFlush().
The remove was already called once at line 41 to retrieve the context.
The duplicate remove at line 46 had no effect and was unnecessary.

Fixes: apache#10247
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.85%. Comparing base (a3abd51) to head (39fac5a).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop   #10359      +/-   ##
=============================================
- Coverage      48.97%   48.85%   -0.12%     
+ Complexity     13473    13437      -36     
=============================================
  Files           1375     1375              
  Lines         100452   100451       -1     
  Branches       12973    12973              
=============================================
- Hits           49197    49078     -119     
- Misses         45265    45365     +100     
- Partials        5990     6008      +18     

☔ 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.

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.

[Enhancement] Remove duplicate remove call in InvocationChannel

2 participants