-
Notifications
You must be signed in to change notification settings - Fork 26.5k
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
Fix triple protocol for native image #15115
base: 3.3
Are you sure you want to change the base?
Conversation
Signed-off-by: JermaineHua <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 3.3 #15115 +/- ##
=========================================
Coverage 60.71% 60.72%
- Complexity 10879 10906 +27
=========================================
Files 1884 1885 +1
Lines 86050 86060 +10
Branches 12893 12893
=========================================
+ Hits 52249 52257 +8
- Misses 28347 28352 +5
+ Partials 5454 5451 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -176,7 +176,7 @@ public static RemoteMetadataService referMetadataService(ServiceInstance instanc | |||
RemoteMetadataService remoteMetadataService; | |||
ProxyFactory proxyFactory = | |||
applicationModel.getExtensionLoader(ProxyFactory.class).getAdaptiveExtension(); | |||
if (useV2) { | |||
if (useV2 && !inNativeImage) { |
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.
Why can't use v2 in native image here?
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.
MetadataServiceV2 only supports nativestub
proxy mode. This needs to be supported separately, and the original problem should be fixed first in this pr.
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.
LGTM
What is the purpose of the change?
Checklist