liubao68 commented on a change in pull request #1355: [SCB-1489] Use old
instanceId to re-register instance to service center
URL:
https://github.com/apache/servicecomb-java-chassis/pull/1355#discussion_r337475255
##########
File path:
service-registry/src/main/java/org/apache/servicecomb/serviceregistry/task/MicroserviceRegisterTask.java
##########
@@ -103,9 +103,6 @@ protected boolean doRegister() {
return false;
}
- // In re-register microservice case, the old instanceId should not be
cached
- microservice.getInstance().setInstanceId(null);
-
LOGGER.info(
Review comment:
we can think of a process to be an instance, use the old instance id is
reasonable
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services