98001yash commented on issue #16040:
URL: https://github.com/apache/dubbo/issues/16040#issuecomment-4018335546
I tried to reproduce this issue on the latest `master` branch.
Setup:
* Provider and consumer running in the same JVM
* `@DubboReference(scope="remote")`
Result:
Dubbo performs **remote invocation** instead of `injvm` invocation as
expected.
Looking at the implementation in `InjvmProtocol.isInjvmRefer()`:
```java
else if (SCOPE_REMOTE.equals(scope)) {
return false;
}
```
This explicitly prevents injvm invocation when `scope=remote`.
So it seems the issue might already be fixed in the current codebase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]