-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The abnormal exit mechanism does not take effect #11926
Labels
Comments
可以优化一下判断条件,把equals改为contains 但是不能一异常就退出, 要考虑到普通的IO异常 |
KomachiSion
added
kind/enhancement
Category issues or prs related to enhancement.
area/Config
labels
Apr 8, 2024
syshenyao
added a commit
to syshenyao/nacos
that referenced
this issue
Apr 22, 2024
syshenyao
added a commit
to syshenyao/nacos
that referenced
this issue
Apr 22, 2024
syshenyao
added a commit
to syshenyao/nacos
that referenced
this issue
Apr 29, 2024
KomachiSion
pushed a commit
that referenced
this issue
May 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
os:eulerosv2r12
jdk:1.8
nacos:2.1.0
We are doing performance testing because there is a large amount of disk space in the container and errors are reported.
After checking the source code, I found an abnormal exit mechanism, but it didn't work.
At the same time, I have a question. Is it reasonable to exit the process directly?
The reason is that nacos cannot correctly determine the exception return information.
os:eulerosv2r12
jdk:1.8
nacos:2.1.0
我们在做性能测试因为容器内磁盘空间大量报错,
查阅源码发现有异常退出机制 但并未奏效。
原因是nacos的无法正确判断异常返回信息。
同时有个疑问 这里直接退出进程是否合理。
error log
not work code
nacos/config/src/main/java/com/alibaba/nacos/config/server/service/ConfigCacheService.java
Line 142 in 2f49431
The text was updated successfully, but these errors were encountered: