当前位置:网站首页>[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
边栏推荐
- Unity中,如何在【编辑器】和【运行时】状态下读写一个ScriptableObject对象
- HCIP 重发布实验
- Introduction and use of precise ephemeris
- STM32cube 串口使用DMA+IDLE接收不定长数据
- 气象绘图软件Panoply使用教程 (不定时更新)
- One or more lines of text overflow, ellipsis instead
- The tiobe programming language ranking is an indicator of the popular trend of programming languages
- This markdown artifact will be charged!
- Drama asking Huamen restaurant Weng
- Swiftui 2.0 course notes Chapter 5
猜你喜欢
随机推荐
Three methods of GNSS velocity calculation
Event log keyword: eventlogtags logtags
One or more lines of text overflow, ellipsis instead
mongodb分片原理
应用挂了~
Investment risk management
直接插入排序——【常见排序法(1/8)】
Introduction to s file generated by TEQC for GNSS data quality analysis
I have been engaged in software testing for 5 years and have changed jobs for 3 times. I have understood the field of software testing
8年经验之谈:月薪3000到30000,测试工程师的变“行”记
Arduino temperature and humidity sensor DHT11 (including code)
Web 应用程序安全测试指南
Servlet self study notes
搭建一套 gocd 的环境
MMDeploy快速安装及使用说明
Drag and drop拖放框架
Go 分组 & 排序
MySQl基础
组合式API-composition-api
laravel8实现图片验证码


![[laravel series 7.8] broadcasting system](/img/87/46b3dc32346356ee70bdb7ec841881.png)






