Upgrading an Exclusive Microservice Engine
When creating an exclusive microservice engine, use the latest engine version. When engines of a new version will be released, you can upgrade the engine version.
Context
Only an exclusive microservice engine can be upgraded. During the upgrade, the performance of HA engines is different from that of non-HA engines.
1. In the HA version, two instances are upgraded in rolling mode. Therefore, services are not interrupted. However, one of the two access addresses may be unavailable. Therefore, if one instance is unavailable, you need to quickly switch to the other instance. Currently, ServiceComb SDK, Go chassis, and Mesher support instance switching. If you call the APIs of the service center and configuration center for service registration and discovery, pay attention to such a scenario where instances in switching may be unavailable.
2. The non-HA engine has only one service instance. During the upgrade, services on the server are interrupted. During service interruption, the service cannot be registered, discovered, or modified. Therefore, you need to evaluate whether the service is affected for an upgrade. The reliability of ServiceComb SDK, Go chassis, and Mesher is enhanced. During service interruption, the client caches data. When the service is available again, all service instances may be offline and need to be registered again. In this case, the client protects the instances. If an empty instance is found, the client uses the local cache. If you call APIs for engine upgrade, pay attention to service interruption.
Procedure
- Log in to ServiceStage and choose Infrastructure > CSE.
- Select a microservice engine to be upgraded, click
, and choose Upgrade. - You can also click the microservice engine to be upgraded and click Upgrade in the upper right corner of the details page.
- The Upgrade button is available only when an upgrade version is available.
- Select the target version.
View the version description and determine whether to upgrade the engine.
- Click OK to perform the upgrade.
Last Article: Operation Logs of an Exclusive Microservice Engine
Next Article: Changing the Specifications of a Microservice Engine
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.