You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/29 02:15:00 UTC

[jira] [Commented] (SCB-705) When consumer invoke an unregistered provider, it will never find this provider even the provider is registered later

    [ https://issues.apache.org/jira/browse/SCB-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16527048#comment-16527048 ] 

ASF GitHub Bot commented on SCB-705:
------------------------------------

yhs0092 opened a new pull request #785: [SCB-705] consumer don't cache ReferenceConfig of an unregistered provider
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/785
 
 
   So that consumer can re-query provider from the service-center. And when the provider is registered, the invocation can be executed successfully.
   
   Follow this checklist to help us incorporate your contribution quickly and easily:
   
    - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/SCB) filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
    - [ ] Each commit in the pull request should have a meaningful subject line and body.
    - [ ] Format the pull request title like `[SCB-XXX] Fixes bug in ApproximateQuantiles`, where you replace `SCB-XXX` with the appropriate JIRA issue.
    - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
    - [ ] Run `mvn clean install` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
    - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   ---
   See details in [SCB-705](https://issues.apache.org/jira/browse/SCB-705)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> When consumer invoke an unregistered provider, it will never find this provider even the provider is registered later
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: SCB-705
>                 URL: https://issues.apache.org/jira/browse/SCB-705
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>            Reporter: YaoHaishi
>            Assignee: YaoHaishi
>            Priority: Major
>
> Before consumer invoke provider, it will create a ReferenceConfig for this provider. But when the provider is not registered, it will get a wrong ReferenceConfig and cache it, so it will never query the service-center again to get the provider microservice information, and an Exception is always thrown to say that the provider cannot be found.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)