You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error loading datum cache file at Nacos startup, at com.alibaba.nacos.Naming.consistency.persistent.Raft.RaftStore#readDatum The method loads the cache file under directory ~/nacos/data/naming/data without determining whether the cache file is a nacos-generated cache. The Mac system automatically generates .DS_Store file, resulting in return JSON.parseObject(json,Datum.class); a json conversion exception will be reported.
Describe what you expected to happen
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
macOS Catalina 10.15.4
nacos-version: 1.3.0-BETA
Anything else we need to know?
我想通过加后缀来解决这个问题。
I want to solve this problem by adding a suffix. @i will solve it@
The text was updated successfully, but these errors were encountered:
Issue Description
Type: bug report or feature request
Describe what happened (or what feature you want)
nacos 启动时加载 datum 缓存文件报错,在
com.alibaba.nacos.naming.consistency.persistent.raft.RaftStore#readDatum
方法中加载目录~/nacos/data/naming/data 下的缓存文件时没有判断缓存文件是否为 nacos 生成的缓存,Mac 系统会自动生成.Ds_Store
文件,导致在方法中的return JSON.parseObject(json, Datum.class);
会报 json 转换异常。Error loading datum cache file at Nacos startup, at
com.alibaba.nacos.Naming.consistency.persistent.Raft.RaftStore#readDatum
The method loads the cache file under directory ~/nacos/data/naming/data without determining whether the cache file is a nacos-generated cache. The Mac system automatically generates.DS_Store
file, resulting inreturn JSON.parseObject(json,Datum.class);
a json conversion exception will be reported.Describe what you expected to happen
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
macOS Catalina 10.15.4
nacos-version: 1.3.0-BETA
Anything else we need to know?
我想通过加后缀来解决这个问题。
I want to solve this problem by adding a suffix.
@i will solve it@
The text was updated successfully, but these errors were encountered: