当前位置:网站首页>[microservices | Nacos] list of issues related to the Nacos version
[microservices | Nacos] list of issues related to the Nacos version
2022-06-23 05:20:00 【Bulst】
List of articles
Nacos:1.4.2 vs 2.0.3 vs 2.1.0
here , The officially recommended version is 2.0.3.
Because when setting up a cluster environment , Operations that need to be upgraded :
Post startup self test
All the machines in the cluster are deployed as 2.0.X Version and start , Post startup checks should be carried out .
When all nodes in the cluster logs/naming-server.log It was observed in the log that upgrade check result true And Upgrade to 2.0.X, It is determined that the cluster is ready , Only then can you use Nacos2.0.Turn off double write
To save performance overhead , When the cluster deployment is completed , You can observe the operation for a period of time , When it's confirmed , Double write can be turned off , This releases performance , The specific closing method is through API Conduct :curl -X PUT 'localhost:8848/nacos/v1/ns/operator/switches?entry=doubleWriteEnabled&value=false'
After closing, it can be accessed from logs/naming-server.log It was observed in the log that Disable Double write, stop and clean v1.x cache and features word . Note double write is turned off .
Be careful , After double write is turned off, smooth degradation cannot be performed , Please confirm that the cluster is running correctly before shutting down .
therefore , I upgraded directly to Nacos2.1.0, Then there is the problem that the service cannot be registered , I first thought about the version incompatibility , Compared with the database sql file , Find out something different , Then all relevant data tables are replaced , This time it's OK . It was later discovered that the console did not display the registration list , Later, I thought of relying on Nacos Version or 2.0.3, I want to replace it with 2.1.0 When , Find out Spring Cloud Alibaba The framework has not been integrated yet Nacos2.1.0 edition , The specific reason :
because Spring Boot 2.4 The versions above and below have changed a lot , At present, it is related to old projects of enterprise customers Spring Boot The version is still in Spring Boot 2.4 following , In order to meet the different needs of existing users and new users at the same time , Community to Spring Boot 2.4 For the dividing line , At the same time maintain 2.2.x and 2021.x Two branch iterations .
So I changed it to Nacos1.4.2 edition
2021.x Branch
adapter Spring Boot 2.4, Spring Cloud 2021.x Version and above Spring Cloud Alibaba The versions are shown in the table below ( The latest version uses * Mark ): ( Be careful , This branch Spring Cloud Alibaba The version naming method has been adjusted , The future will correspond to Spring Cloud edition , The first three are Spring Cloud edition , The last bit is the extended version , For example, adaptation Spring Cloud 2021.0.1 The version corresponds to Spring Cloud Alibaba The first version is :2021.0.1.0, The second version is :2021.0.1.1, And so on )



Version Description
边栏推荐
- Arduino temperature and humidity sensor DHT11 (including code)
- 气象绘图软件Panoply使用教程 (不定时更新)
- JDBC call stored procedure, MySQL trigger
- 戏问花门酒家翁
- 985 test engineer is hanged. Who is more important in terms of education and experience?
- Open source ecology 𞓜 super practical open source license basic knowledge literacy post (Part 2)
- onnxoptimizer、onnxsim使用记录
- Web 应用程序安全测试指南
- BGP second test
- JSP entry notes
猜你喜欢

网上有真实的兼职吗?大学生怎么找暑期兼职?

【C语言】关键字
![[MAC] there is no source option in security and privacy](/img/ec/6a7bc7689346378c6ed0dc644f709a.png)
[MAC] there is no source option in security and privacy

Jetpack Compose 从开门到入门之 MenuBar桌面菜单(Desktop Menu)

【微服务|Nacos】Nacos实现多环境和多租户的数据隔离

Open source ecology 𞓜 super practical open source license basic knowledge literacy post (Part 2)

BGP实验

A bug in rtklib2.4.3 B34 single point positioning

BGP experiment

Hard core, become a high-quality tester: learn to communicate with products
随机推荐
Strong push, quick start to software testing
气象绘图软件Panoply使用教程 (不定时更新)
PHP move_uploaded_file上传移动图片失败
树莓派网络远程访问
JSP入门级笔记
Event log keyword: eventlogtags logtags
JSP entry notes
UnityShader入门精要——Unity中的渲染优化技术(四)
Unity中,如何在【编辑器】和【运行时】状态下读写一个ScriptableObject对象
In unity, how to read and write a scriptableobject object in editor and runtime
九九乘法表.bat
A bug in rtklib2.4.3 B34 single point positioning
bat中获取bat命令结果
STM32cube CMSIS_V2 freeRTOS Queue 队列使用
insert into... where not exists插入避免重复的使用
BGP second test
8 years' experience: monthly salary of 3000 to 30000, the change of Test Engineer
HCIP 重发布实验
A compiler related bug in rtklib2.4.3 B34
Mmdeploy quick installation and instructions