-
Notifications
You must be signed in to change notification settings - Fork 11.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE #8963] Fix code36 request sent to ns #8964
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8964 +/- ##
=============================================
- Coverage 47.73% 47.66% -0.08%
+ Complexity 11774 11769 -5
=============================================
Files 1304 1304
Lines 91118 91201 +83
Branches 11692 11717 +25
=============================================
- Hits 43495 43470 -25
- Misses 42264 42345 +81
- Partials 5359 5386 +27 ☔ View full report in Codecov by Sentry. |
@@ -767,6 +767,9 @@ private void sendMessageBack(MessageExt msg, int delayLevel, final String broker | |||
} else { | |||
String brokerAddr = (null != brokerName) ? this.mQClientFactory.findBrokerAddressInPublish(brokerName) | |||
: RemotingHelper.parseSocketAddressAddr(msg.getStoreHost()); | |||
if (UtilAll.isBlank(brokerAddr)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this code have the same issue ?
Lines 649 to 651 in a8779c0
String brokerAddr = (null != destBrokerName) ? this.mQClientFactory.findBrokerAddressInPublish(destBrokerName) | |
: RemotingHelper.parseSocketAddressAddr(msg.getStoreHost()); | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logically, it is the same as push and will have this problem, but notice that it has been marked as @Deprecated
. Does it need to be modified?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO, maybe someone still using this, it would be better to modify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I will change it together.
Fixes #8963 .