[
https://issues.apache.org/jira/browse/SCB-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490144#comment-16490144
]
ASF GitHub Bot commented on SCB-589:
------------------------------------
wujimin opened a new pull request #728: [SCB-589] Consumer producer upgrade
unordered
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/728
1.normal consumer use PrivateMicroserviceClassLoaderFactory, just like edge
2.consumer microserviceMeta will not save in microserviceMetaManager any
more, just like edge, use appManager; and change consumer default versionRule
from latest to all
3.allow consumer schema set or method set bigger than contract
4.protobuf dynamic class created in microservice classloader
integration test case:
1.start old producer
2.start new consumer, which have new schems or new method belongs to old
schema
features about old producer no problem
3.start new producer
not restart consumer, features about new producer become no problem
------------
All commits are logically related, difficult to split to subtasks
please review commits one by one.
there is no automatic integration test case, because need a controller to do
this, our integration test not support this now.
----------------------------------------------------------------
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:
[email protected]
> allow consumer upgrade before producer
> --------------------------------------
>
> Key: SCB-589
> URL: https://issues.apache.org/jira/browse/SCB-589
> Project: Apache ServiceComb
> Issue Type: Task
> Components: Java-Chassis
> Reporter: wujimin
> Assignee: wujimin
> Priority: Major
>
> 1.normal consumer use PrivateMicroserviceClassLoaderFactory, just like edge
> 2.consumer microserviceMeta will not save in microserviceMetaManager any
> more, just like edge, use appManager; and change consumer default versionRule
> from latest to all
> 3.allow consumer schema set or method set bigger than contract
> 4.protobuf dynamic class created in microservice classloader
> 5.seems that can delete MicroserviceMetaManager
> 6.edge remains task should be finished:
> https://issues.apache.org/jira/browse/SCB-279
>
> jackson hold classes by a LRU map, will not always hold class, so there is no
> big problems.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)