Skip to content
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

启用故障转移时产生的问题 #10038

Closed
ThreeJ939 opened this issue Mar 3, 2023 · 2 comments · Fixed by #10048
Closed

启用故障转移时产生的问题 #10038

ThreeJ939 opened this issue Mar 3, 2023 · 2 comments · Fixed by #10048
Labels
area/Client Related to Nacos Client SDK kind/bug Category issues or prs related to bug.

Comments

@ThreeJ939
Copy link

故障转移本地磁盘文件如下(订阅了其他服务,服务端返回的clusters字段为空字符,所以生成的文件名未拼接clusters字段)

image

当启用故障转移时,从磁盘读取ServiceInfo进缓存时会执行到下面的代码

image
image

当读取DEFAULT_GROUP%40%40mall-auth这个文件名时无法通过上面的逻辑会抛异常

nacos-server版本2.2.1 ,nacos-client版本1.4.2

@YunWZ
Copy link
Contributor

YunWZ commented Mar 5, 2023

@i will resolve it@

@KomachiSion KomachiSion added kind/bug Category issues or prs related to bug. area/Client Related to Nacos Client SDK labels Mar 6, 2023
@KomachiSion
Copy link
Collaborator

Can you see the client 2.x has this problem?

KomachiSion pushed a commit that referenced this issue Mar 9, 2023
* load failover file.

* fix text unit error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Client Related to Nacos Client SDK kind/bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants