[ISSUE #4496] Response should not be processed during the NettyRequestProcessor requestProcess, neither by being assigned as NULL nor by being written to the Netty channel.#4723
Closed
Erik1288 wants to merge 6 commits intoapache:developfrom
Conversation
…uestProcess, neither by being assigned as NULL nor by being written to the Netty channel.
…uestProcess, neither by being assigned as NULL nor by being written to the Netty channel.
…uestProcess, neither by being assigned as NULL nor by being written to the Netty channel.
# Conflicts: # proxy/src/main/java/org/apache/rocketmq/proxy/service/mqclient/ProxyClientRemotingProcessor.java
Codecov Report
@@ Coverage Diff @@
## develop #4723 +/- ##
=============================================
- Coverage 44.82% 44.81% -0.02%
- Complexity 7564 7572 +8
=============================================
Files 977 983 +6
Lines 67640 67744 +104
Branches 8933 8944 +11
=============================================
+ Hits 30321 30360 +39
- Misses 33581 33643 +62
- Partials 3738 3741 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. |
|
This PR is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR. |
|
This PR was closed because it has been inactive for 3 days since being marked as stale. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make sure set the target branch to
developWhat is the purpose of the change
Here's some cases:
When implementing zeroCopy, the response is written to the netty channel even before the processRequest method ends.
When implementing long-polling, the response is assigned and returned as NULL instead of returning an asynchronous result.
Brief changelog
Verifying this change
Pass UTs.