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
there is a bug in file ServiceInfo #4136
Comments
if it confirmed ,i will fix it so quickly! |
OK. When you try to fix it. Please do some test for compatibility test with old version nacos server from 1.1.3 to 1.3.2 |
you should consider 'key' in different situations:
|
got it ,thanks for your reminding |
ok, i will do it |
…erviceInfo from cache file alibaba#4249
java class name:com.alibaba.nacos.api.naming.pojo.ServiceInfo
method:
When read cache file from disk throuth method
DiskCache.read(String cacheDir)
, the method use constructorpublic ServiceInfo(String key)
to instantiateServiceInfo
,you can check the code in file DiskCache of line 111.I give a example of the input param for method
public ServiceInfo(String key)
likegroup@@service_name@@clusters
.You can see when spilt with
@@
,theclusterIndex
should be 2 not 1, and the serviceNameIndex should be 1 not 0,and thegroupName
can be fill with data of index=0.The text was updated successfully, but these errors were encountered: